Browse Source

helper: restore run if no param passed

master
pictuga 3 weeks ago
parent
commit
15430a2b83
  1. 5
      morss-helper

5
morss-helper

@ -33,7 +33,10 @@ check() {
python -m morss.crawler http://localhost:${PORT:-8000}/ > /dev/null 2>&1
}
if [ "$1" = "sh" ] || [ "$1" = "bash" ] || command -v "$1" ; then
if [ -z "$1" ]; then
run
elif [ "$1" = "sh" ] || [ "$1" = "bash" ] || command -v "$1" ; then
$@
else

Loading…
Cancel
Save