Update functions.sh

This commit is contained in:
Søren Theilgaard
2021-11-10 08:58:05 +01:00
parent 7e75683d76
commit a2ee2ccdde

View File

@@ -399,6 +399,8 @@ installAppWithPath() { # $1: path to app to install in $targetDir
CLIoutput=$("$mountname/$CLIInstaller" "${CLIArguments[@]}" 2>&1)
CLIstatus=$(echo $?)
logoutput="$CLIoutput" # dedupliatelogs "$CLIoutput"
if [ $CLIstatus -ne 0 ] ; then
cleanupAndExit 3 "Error installing $mountname/$CLIInstaller $CLIArguments error: $logoutput" #ERROR
fi
printlog "Debugging enabled, update tool output was: $logoutput" #DEBUG