Fix shellcheck violation

This commit is contained in:
Jose Diaz-Gonzalez committed 2016-01-02 04:31:48 -05:00
1 parent 5a74d5c247
commit 61f9ae6e67
1 file changed
+2 -1
+2 -1
View File
@@ -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