From ed737510bb0af6c7d1b3d6aab1286a6fcfa3fad8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Theilgaard?= Date: Mon, 7 Mar 2022 09:42:51 +0100 Subject: [PATCH] Fixed bad copy-paste --- fragments/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fragments/functions.sh b/fragments/functions.sh index 251121d..5f9f2c1 100644 --- a/fragments/functions.sh +++ b/fragments/functions.sh @@ -501,7 +501,7 @@ installAppWithPath() { # $1: path to app to install in $targetDir copyAppStatus=$(echo $?) deduplicatelogs "$copyAppOut" printlog "Debugging enabled, App copy output was:\n$logoutput" DEBUG - if [[ $appVerifyStatus -ne 0 ]] ; then + if [[ $copyAppStatus -ne 0 ]] ; then #if ! ditto "$appPath" "$targetDir/$appName"; then cleanupAndExit 7 "Error while copying:\n$logoutput" ERROR fi