From 81b50ecb6be1df83b45c6ed868e855c6d11bf135 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 10 May 2011 15:02:47 -0400 Subject: fuser -k defaults to -9; set the initial pass to kill -15. (#703457) --- rc.d/init.d/functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rc.d/init.d/functions') diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions index ec4f2bbe..8a3177a1 100644 --- a/rc.d/init.d/functions +++ b/rc.d/init.d/functions @@ -128,7 +128,7 @@ __fgrep() { # awk_program should process fstab_file and return a list of fstab-encoded # paths; it doesn't have to handle comments in fstab_file. __umount_loop() { - local remaining sig= + local remaining sig=-15 local retry=3 count remaining=$(LC_ALL=C awk "/^#/ {next} $1" "$2" | sort -r) @@ -156,7 +156,7 @@ __umount_loop() { # Similar to __umount loop above, specialized for loopback devices __umount_loopback_loop() { - local remaining devremaining sig= + local remaining devremaining sig=-15 local retry=3 remaining=$(awk '$1 ~ /^\/dev\/loop/ && $2 != "/" {print $2}' /proc/mounts) -- cgit v1.2.1