From 788e011df07a083e132b5d1f3b42fd4db1cc43d8 Mon Sep 17 00:00:00 2001 From: Matt C Date: Mon, 24 May 2021 17:58:42 -0400 Subject: [PATCH] testing mount checking --- citrine.internal.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/citrine.internal.sh b/citrine.internal.sh index 8608c54..5ee75b5 100755 --- a/citrine.internal.sh +++ b/citrine.internal.sh @@ -145,7 +145,12 @@ else echo "STAT=$response" STAT="$response" if [[ "$STAT" == "y" ]]; then - CONFDONE="YEP" + + if ! findmnt | grep mnt; then + err "Are you sure you've mounted the partitions?" + else + CONFDONE="YEP" + fi fi done fi