diff options
-rwxr-xr-x | etc/functions/off | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/functions/off b/etc/functions/off index e66ef88..12997f4 100755 --- a/etc/functions/off +++ b/etc/functions/off @@ -69,7 +69,7 @@ fi execute uinit -o text stop-all while read filesystem garbage; do - if [[ $garbage == *[12] ]] && fgrep $filesystem /etc/mtab &> /dev/null; then + if [[ $garbage == *[12] ]] && fgrep -q $filesystem /etc/mtab; then filesystems+=$filesystem fi done < /etc/fstab |