diff options
author | William Hubbs <williamh@gentoo.org> | 2012-02-13 10:12:12 -0600 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2012-02-13 10:12:12 -0600 |
commit | a5ad5ba9714ce5a2acca7db8fc022410038a5144 (patch) | |
tree | 95012a2b5096bd4d976a3f9d46339c313a0d4e67 /init.d/swap.in | |
parent | 79d6f109262ac936218332730b231a5b5897d612 (diff) |
Swap: fix redirect
Swap should redirect stdout and stderr from swapon to null and not just
stderr.
Diffstat (limited to 'init.d/swap.in')
-rw-r--r-- | init.d/swap.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/swap.in b/init.d/swap.in index bdc5dc71..0b229a1c 100644 --- a/init.d/swap.in +++ b/init.d/swap.in @@ -17,7 +17,7 @@ start() for dev in $(fstabinfo -b -t swap); do case "$dev" in /dev/loop*) ;; - *) swapon $dev 2>/dev/null;; + *) swapon $dev >/dev/null;; esac done ;; |