fix interaction of -a and -p options in swapon
authorMatt Whitlock <busybox@mattwhitlock.name>
Sat, 22 Mar 2014 23:10:08 +0000 (19:10 -0400)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 23 Mar 2014 17:36:22 +0000 (18:36 +0100)
commitb9bbd4ddf622bc365726af4f2424210762e74b32
tree3d602ab0abdb89400fb5d8cbaff34bd237b507eb
parentc3a27b0bfdf758f649caab2c474e690067af3402
fix interaction of -a and -p options in swapon

Swap entries in /etc/fstab inherit the priority specified on the command line unless they have 'pri' in their mount options.

Signed-off-by: Matt Whitlock <busybox@mattwhitlock.name>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
util-linux/swaponoff.c