Skip to content

Commit

Permalink
Fix error with serverbasedir
Browse files Browse the repository at this point in the history
  • Loading branch information
klightspeed committed Jan 24, 2019
1 parent c7e6df0 commit 76e71f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/arkmanager
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ if [ -f "${HOME}/${arkstUserCfgFile}" ]; then
source "${HOME}/${arkstUserCfgFile}"
fi

if [ -n "${serverbasedir}" && -d "${serverbasedir}" ]; then
if [[ -n "${serverbasedir}" && -d "${serverbasedir}" ]]; then
cd "${serverbasedir}"
elif [ -d "${HOME}" ]; then
cd "${HOME}"
Expand Down

0 comments on commit 76e71f3

Please sign in to comment.