Created
August 12, 2016 12:33
-
-
Save aleron75/5b35f8b670ad24bffbca48c0370135ec to your computer and use it in GitHub Desktop.
Revisions
-
aleron75 created this gist
Aug 12, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ #!/bin/bash # use --no-ansi to avoid color characters message=$(bin/magento setup:db:status --no-ansi) if [[ ${message:0:3} == "All" ]]; then exit 0 # 0 not required being default exit code; used for clarity else exit 1 fi