diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-06-03 19:33:19 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-06-03 19:33:19 +0200 |
commit | ad959d636ab1c74a992f363de9b0ed87063b26f0 (patch) | |
tree | 08c633d075d2ffa12ea1ebb6584858a27c65398c /etc/functions | |
parent | a0297738de9d1abe9bd92c0e8708f9b49e3a46a2 (diff) |
off: grep -q
Diffstat (limited to 'etc/functions')
-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 |