bin/safeRun.sh: Fix `try: not found` bug

This fixes a copy+paste bug introduced in commit
8b28e00784 (v1.8.8).
This commit is contained in:
Richard Hansen 2021-03-10 02:54:18 -05:00
parent 9bc3ac0957
commit d2610284ad
1 changed files with 2 additions and 2 deletions

View File

@ -24,8 +24,8 @@ fatal() { error "$@"; exit 1; }
LAST_EMAIL_SEND=0
# Move to the Etherpad base directory.
MY_DIR=$(try cd "${0%/*}" && try pwd -P) || exit 1
try cd "${MY_DIR}/../.."
MY_DIR=$(cd "${0%/*}" && pwd -P) || exit 1
cd "${MY_DIR}/../.." || exit 1
# Check if a logfile parameter is set
LOG="$1"