summaryrefslogtreecommitdiff
path: root/util-linux/setarch.c
diff options
context:
space:
mode:
authorMike Frysinger2015-12-16 12:59:08 -0500
committerMike Frysinger2015-12-16 12:59:08 -0500
commit5f11ec3f6a7e4fe6cc2626ccb7cda4ecb5c3938a (patch)
tree3f53c36f98619131834ded9d48f2019738eb62c3 /util-linux/setarch.c
parent77e2bde6a50f0f6b9b3c9983c86e661a9872b5f6 (diff)
downloadbusybox-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