From 9ad1dbc28c2d8b07c86555a15ba1228235b3a9a5 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 6 Nov 2020 17:54:23 +0000 Subject: Fix trivial bug --- 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 4ce4135..8ebe2d5 100644 --- a/src/shutdown/s6-linux-init-hpr.c +++ b/src/shutdown/s6-linux-init-hpr.c @@ -57,7 +57,7 @@ int main (int argc, char const *const *argv) case 'w' : dowtmp = 2 ; break ; case 'W' : dowall = 0 ; break ; case 'n' : dosync = 0 ; break ; - case 'i' : doconfirm = 0 ; break ; + case 'i' : doconfirm = 1 ; break ; default : strerr_dieusage(100, USAGE) ; } } -- cgit v1.2.3