From bf3668cdf7327b2e02e734561e6daf9212da8924 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 6 May 2019 00:17:12 +0000 Subject: fix hpr -w, refactor shutdown --- src/shutdown/s6-linux-init-hpr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shutdown/s6-linux-init-hpr.c') 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) ; } -- cgit v1.2.3