diff options
Diffstat (limited to 'colour-contrast-analyser.sh')
-rw-r--r-- | colour-contrast-analyser.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/colour-contrast-analyser.sh b/colour-contrast-analyser.sh index 4cfe3ac09dd8..40e422ca2ee7 100644 --- a/colour-contrast-analyser.sh +++ b/colour-contrast-analyser.sh @@ -21,7 +21,7 @@ if [[ -f "${_FLAGS_FILE}" ]]; then fi done < "${_FLAGS_FILE}" fi -cd "${_APPDIR}" +cd "${_APPDIR}" || { echo "Failed to change directory to ${_APPDIR}"; exit 1; } if [[ "${EUID}" -ne 0 ]] || [[ "${ELECTRON_RUN_AS_NODE}" ]]; then exec electron@electronversion@ "${_RUNNAME}" ${_OPTIONS} "${_USER_FLAGS[@]}" "$@" else |