Don't set overall restartflag to False if a nopkg item doesn't require restart. Thanks to @chymb

This commit is contained in:
Greg Neagle
2017-09-12 14:13:06 -07:00
parent 2c5d2a0006
commit eb17f853fb
+1 -1
View File
@@ -303,7 +303,7 @@ def install_with_info(
retcode = -1
# nopkg (Packageless) install
elif installer_type == "nopkg":
restartflag = requires_restart(item)
restartflag = restartflag or requires_restart(item)
# unknown installer_type
elif installer_type != "":
# we've encountered an installer type