summaryrefslogtreecommitdiff
path: root/src/shutdown
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-11-06 17:54:23 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-11-06 17:54:23 +0000
commit9ad1dbc28c2d8b07c86555a15ba1228235b3a9a5 (patch)
treea09a74190beedc53584d5d65a7adcde13f9e7020 /src/shutdown
parent7aa18bcbd83c4342bc2eefa4d6d96756ae7541a0 (diff)
downloads6-linux-init-9ad1dbc28c2d8b07c86555a15ba1228235b3a9a5.tar.xz
Fix trivial bug
Diffstat (limited to 'src/shutdown')
-rw-r--r--src/shutdown/s6-linux-init-hpr.c2
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 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) ;
}
}