This commit is contained in:
iFargle 2023-09-22 08:23:32 +09:00
parent f19854cedb
commit b89a2ea47e

View file

@ -7,7 +7,7 @@ let
#set -euo pipefail #set -euo pipefail
# check if we are running in a live CD environment. # check if we are running in a live CD environment.
if [ df -h | grep tmpfs | grep /$ ] ; then if [ df -h | grep tmpfs | grep /$ | wc -l -ne 1 ]; then
echo "ERROR! Not in a live CD environment (/ is not tmpfs)." echo "ERROR! Not in a live CD environment (/ is not tmpfs)."
exit 1 exit 1
fi fi