Update bad return on os flatpak check

This commit is contained in:
Eric Renfro 2024-06-28 13:15:10 -04:00
parent 11da80708b
commit deb8d825a8
Signed by: psi-jack
SSH key fingerprint: SHA256:1TKB8Z257L8EHK8GWNxKgMhD8a+FAR+f+j3nnlcuNVM

View file

@ -53,7 +53,9 @@ runOsHook() {
opensuse-tumbleweed) "${scriptPath}/os_suse" "$hook";; opensuse-tumbleweed) "${scriptPath}/os_suse" "$hook";;
esac esac
command -v flatpak &>/dev/null && "${scriptPath}/flatpak" "$hook" if command -v flatpak &>/dev/null; then
"${scriptPath}/flatpak" "$hook"
fi
fi fi
return $? return $?
} }