From d2610284ad223be6fc930de4dbf414f3aac8aa59 Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Wed, 10 Mar 2021 02:54:18 -0500 Subject: [PATCH] bin/safeRun.sh: Fix `try: not found` bug This fixes a copy+paste bug introduced in commit 8b28e007842efefccf852a55f783761f86dc6090 (v1.8.8). --- src/bin/safeRun.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/safeRun.sh b/src/bin/safeRun.sh index d9efa241..d980b930 100755 --- a/src/bin/safeRun.sh +++ b/src/bin/safeRun.sh @@ -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"