Skip to content

Commit f363ce3

Browse files
committed
refactoring
1 parent f8c1528 commit f363ce3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

usr/bin/dist-installer-cli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,7 @@ need_reboot_check_second() {
734734
return 0
735735
fi
736736

737-
if [ "$needs_restarting_exit_code" != "1" ]; then
737+
if ! [ "$needs_restarting_exit_code" = "1" ]; then
738738
die 1 "Reboot Check Result: needs-restarting exited with unexpected code ${needs_restarting_exit_code}!"
739739
fi
740740

0 commit comments

Comments
 (0)