提交 cc48360f 编写于 作者: J Ján Tomko

tools: libvirt-guests: correctly check shutdown value

The variable cleanup introduced a typo.
Signed-off-by: NJán Tomko <jtomko@redhat.com>
Fixes: 08071ec0
Reported-by: Bronek Kozicki
Closes: https://gitlab.com/libvirt/libvirt/-/issues/27
上级 871f231e
......@@ -444,7 +444,7 @@ stop() {
# last stop was not followed by start
[ -f "$LISTFILE" ] && return 0
if [ "/x$ON_SHUTDOWN" = xshutdown ]; then
if [ "x$ON_SHUTDOWN" = xshutdown ]; then
suspending=false
if [ $SHUTDOWN_TIMEOUT -lt 0 ]; then
gettext "SHUTDOWN_TIMEOUT must be equal or greater than 0"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册