shiori/run.sh: add missing dash
This commit is contained in:
parent
5f8369d19c
commit
cdc7ce87cc
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ fi
|
|||
cd "${data_dir}" || { echo "Error: Failed to cd into '${data_dir}' (have you checked the permissions?)"; exit 2; };
|
||||
|
||||
if [[ "${1}" == "serve" ]]; then
|
||||
exec /srv/shiori "$@" -port "${port}";
|
||||
exec /srv/shiori "$@" --port "${port}";
|
||||
else
|
||||
exec /srv/shiori "$@";
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue