Ended up with double-log-lines

This commit is contained in:
Søren Theilgaard
2022-02-04 09:26:42 +01:00
parent ee9861c0f5
commit 83c1911248

View File

@@ -515,7 +515,6 @@ mountDMG() {
dmgmountOut=$(echo 'Y'$'\n' | hdiutil attach "$tmpDir/$archiveName" -nobrowse -readonly )
dmgmountStatus=$(echo $?)
dmgmount=$(echo $dmgmountOut | tail -n 1 | cut -c 54- )
printlog "dmgmountOut is $dmgmountOut" DEBUG
deduplicatelogs "$dmgmountOut"
if [[ $dmgmountStatus -ne 0 ]] ; then