diff options
author | Bill Nottingham <notting@redhat.com> | 2011-05-10 15:02:47 -0400 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2011-05-10 15:02:47 -0400 |
commit | 81b50ecb6be1df83b45c6ed868e855c6d11bf135 (patch) | |
tree | ae29913e6512030fe504cd3c37841731b9927838 /rc.d/init.d/functions | |
parent | a8295afa615410bfef2df178ab8764cdc25bf2e0 (diff) | |
download | initscripts-81b50ecb6be1df83b45c6ed868e855c6d11bf135.tar initscripts-81b50ecb6be1df83b45c6ed868e855c6d11bf135.tar.gz initscripts-81b50ecb6be1df83b45c6ed868e855c6d11bf135.tar.bz2 initscripts-81b50ecb6be1df83b45c6ed868e855c6d11bf135.tar.xz initscripts-81b50ecb6be1df83b45c6ed868e855c6d11bf135.zip |
fuser -k defaults to -9; set the initial pass to kill -15. (#703457)
Diffstat (limited to 'rc.d/init.d/functions')
-rw-r--r-- | rc.d/init.d/functions | 4 |
1 files changed, 2 insertions, 2 deletions
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) |