Fix shellcheck violation
This commit is contained in:
1 parent
5a74d5c247
commit
61f9ae6e67
1 file changed
+2
-1
Vendored
+2
-1
@@ -60,7 +60,8 @@ case "$1" in
|
|||||||
systemctl enable dokku-installer
|
systemctl enable dokku-installer
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if echo $(service dokku-installer status 2> /dev/null || true) | grep -Eq "(inactive|waiting)" > /dev/null; then
|
installer_status="$(service dokku-installer status 2> /dev/null || true)"
|
||||||
|
if echo $installer_status | grep -Eq "(inactive|waiting)" > /dev/null; then
|
||||||
echo "Starting dokku-installer"
|
echo "Starting dokku-installer"
|
||||||
service dokku-installer start || echo "Unable to start dokku-installer"
|
service dokku-installer start || echo "Unable to start dokku-installer"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in new issue
Block a user