From 116f7ddd2e6ebb1377474da592b7d43604e7b166 Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Wed, 1 Oct 2008 00:56:30 +0100 Subject: Use "grep -qs" over "grep -q" for compatibility (see grep(1)) --- scripts/live-bottom/12fstab | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/live-bottom/12fstab') 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. -- cgit v1.2.3