diff options
author | Mike Frysinger | 2015-12-16 12:59:08 -0500 |
---|---|---|
committer | Mike Frysinger | 2015-12-16 12:59:08 -0500 |
commit | 5f11ec3f6a7e4fe6cc2626ccb7cda4ecb5c3938a (patch) | |
tree | 3f53c36f98619131834ded9d48f2019738eb62c3 /util-linux/setarch.c | |
parent | 77e2bde6a50f0f6b9b3c9983c86e661a9872b5f6 (diff) | |
download | busybox-5f11ec3f6a7e4fe6cc2626ccb7cda4ecb5c3938a.zip busybox-5f11ec3f6a7e4fe6cc2626ccb7cda4ecb5c3938a.tar.gz |
swapon/swapoff: refine the -e (ifexists) option
The -e option should only apply to swapon, and it should swallow all
errors/warnings when the device does not exist. So delete the flag
from the swapoff patch and unify the check in the swapoff path.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'util-linux/setarch.c')
0 files changed, 0 insertions, 0 deletions