diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2019-05-06 00:17:12 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2019-05-06 00:17:12 +0000 |
commit | bf3668cdf7327b2e02e734561e6daf9212da8924 (patch) | |
tree | 77e4e21d2dbbd9e484251c89819f16831071953d /src/shutdown/s6-linux-init-hpr.c | |
parent | 97967b6276c0f0ae5ae1ac0e706ce43e2727d03a (diff) | |
download | s6-linux-init-bf3668cdf7327b2e02e734561e6daf9212da8924.tar.xz |
fix hpr -w, refactor shutdown
Diffstat (limited to 'src/shutdown/s6-linux-init-hpr.c')
-rw-r--r-- | src/shutdown/s6-linux-init-hpr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shutdown/s6-linux-init-hpr.c b/src/shutdown/s6-linux-init-hpr.c index 7e4859a..886f10b 100644 --- a/src/shutdown/s6-linux-init-hpr.c +++ b/src/shutdown/s6-linux-init-hpr.c @@ -52,7 +52,7 @@ int main (int argc, char const *const *argv) case 'r' : what = 3 ; break ; case 'f' : force = 1 ; break ; case 'd' : dowtmp = 0 ; break ; - case 'w' : dowtmp = 1 ; break ; + case 'w' : dowtmp = 2 ; break ; case 'W' : dowall = 0 ; break ; default : strerr_dieusage(100, USAGE) ; } |