Skip to content

Commit 44b6bd2

Browse files
committed
linting fix
1 parent f2e26b3 commit 44b6bd2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

root/etc/cont-init.d/50-plex-update

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ cat > "${UPGRADE_FAIL}" <<-EOFFAIL
4040
EOFFAIL
4141

4242
# test for no version set or opt out for autoupdates
43-
if [[ -z "$VERSION" ]] || [[ "$VERSION" == "0" ]] || [[ ! -z "$ADVANCED_DISABLEUPDATES" ]]; then
43+
if [[ -z "$VERSION" ]] || [[ "$VERSION" == "0" ]] || [[ -n "$ADVANCED_DISABLEUPDATES" ]]; then
4444
printf '\n\n\n%s\n\n\n' "$(</tmp/no-version.nfo)"
4545
exit 0
4646
fi

0 commit comments

Comments
 (0)