mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-28 13:08:38 +00:00
shutdown: use poweroff -f instead of halt -f
This is makes fast shutdown work on Hyper-V While at it, also clean up whitespaces. The file was mixed tabs and spaces. Now it uses spaces. Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
parent
8d5dd9308e
commit
e953d12e4e
@ -174,7 +174,7 @@ stop()
|
|||||||
eoutdent
|
eoutdent
|
||||||
|
|
||||||
# now terminate with extreme prejudice
|
# now terminate with extreme prejudice
|
||||||
halt -f
|
poweroff -f
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user