diff options
author | Neil Brown <neilb@suse.de> | 2006-06-05 12:47:00 +1000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2006-06-05 12:47:00 +1000 |
commit | 20dbc272005b69903bb3c1c2a6623cf69084c111 (patch) | |
tree | e18fa7f040ced917f9f4da4cb02a9d86c0115ffc /utils | |
parent | 1769ac4444005c027dc1baa33946eb16cd48444b (diff) | |
download | nfs-utils-20dbc272005b69903bb3c1c2a6623cf69084c111.tar.gz nfs-utils-20dbc272005b69903bb3c1c2a6623cf69084c111.tar.xz nfs-utils-20dbc272005b69903bb3c1c2a6623cf69084c111.zip |
fix nhfsrun signal
nhfsrun is supposed to be able to be signalled with SIGUSR1, but
the signal trapped is number 30, which is something else
entirely (SIGPWR). This patch simply changes it to say "USR1",
which gets it right no matter what the value is.
"Steinar H. Gunderson" <sesse@debian.org>
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/nhfsstone/nhfsrun | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/nhfsstone/nhfsrun b/utils/nhfsstone/nhfsrun index a0ac0f8..ce77ace 100755 --- a/utils/nhfsstone/nhfsrun +++ b/utils/nhfsstone/nhfsrun @@ -46,7 +46,7 @@ INCR=10 # SIGUSR1 is used by nhfsstone to synchronize child processes. # nothing() { echo -n ""; } -trap nothing 30 +trap nothing USR1 rm -f $OUTFILE |