aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.d/swap.in2
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
;;