summaryrefslogtreecommitdiff
path: root/scripts/live-bottom/12fstab
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/live-bottom/12fstab')
-rwxr-xr-xscripts/live-bottom/12fstab2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/live-bottom/12fstab b/scripts/live-bottom/12fstab
index 2dba37a..f38eee7 100755
--- a/scripts/live-bottom/12fstab
+++ b/scripts/live-bottom/12fstab
@@ -33,7 +33,7 @@ log_begin_msg "Configuring fstab"
# live-initramfs script
# Create a fake fstab only if it is not already there
-if [ ! -f "${FSTAB}" ] || grep -q 'UNCONFIGURED FSTAB FOR BASE SYSTEM' "${FSTAB}"
+if [ ! -f "${FSTAB}" ] || grep -qs 'UNCONFIGURED FSTAB FOR BASE SYSTEM' "${FSTAB}"
then
cat >> ${FSTAB} << EOF
# /etc/fstab: static file system information.