test
This commit is contained in:
parent
f19854cedb
commit
b89a2ea47e
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ let
|
|||
#set -euo pipefail
|
||||
|
||||
# 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)."
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue