mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Force the output to be in lowercase
This commit is contained in:
parent
bafedc8927
commit
ff0dcc2207
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ _LXC_START_AND_WAIT() {
|
|||
|
||||
CLEAN_SWAPFILES() {
|
||||
# Restart it if needed
|
||||
if [ "$(lxc info $LXC_NAME | grep Status | awk '{print $2}')" != "RUNNING" ]; then
|
||||
if [ "$(lxc info $LXC_NAME | grep Status | awk '{print tolower($2)}')" != "running" ]; then
|
||||
lxc start $LXC_NAME
|
||||
_LXC_START_AND_WAIT $LXC_NAME
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue