aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util-linux/swaponoff.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/util-linux/swaponoff.c b/util-linux/swaponoff.c
index acdb67729..75487267b 100644
--- a/util-linux/swaponoff.c
+++ b/util-linux/swaponoff.c
@@ -116,9 +116,8 @@ static int swap_enable_disable(char *device)
116 } 116 }
117 } 117 }
118 118
119 if (err) { 119 if (err && !quiet) {
120 if (!quiet) 120 bb_simple_perror_msg(device);
121 bb_simple_perror_msg(device);
122 return 1; 121 return 1;
123 } 122 }
124 return 0; 123 return 0;