reboot-LXC-host.sh: a really minor change on script output.
This commit is contained in:
parent
a2a2de5d72
commit
15eb3e872b
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
#/usr/bin/env bash
|
||||||
|
|
||||||
script_name="$(basename $(realpath $0))"
|
script_name="$(basename $(realpath $0))"
|
||||||
working_dir="$(dirname $(realpath $0))"
|
working_dir="$(dirname $(realpath $0))"
|
||||||
@ -204,7 +204,7 @@ else
|
|||||||
terminal=false
|
terminal=false
|
||||||
fi
|
fi
|
||||||
|
|
||||||
which lxc-ls || fatal "Seems not to be a LX Host. Missing command \033[33mlxc-ls"
|
[[ -n "$(which lxc-ls)" ]] || fatal "Seems not to be a LX Host. Missing command \033[33mlxc-ls"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user