Update needs_restarting.py

This commit is contained in:
Josh Patterson authored and GitHub committed 2023-07-20 08:36:27 -04:00
1 parent 14c685ab10
commit e75d0c8094
1 file changed
+1 -1
+1 -1
View File
@@ -10,7 +10,7 @@ def check():
if path.exists('/var/run/reboot-required'):
retval = 'True'
elif
elif osfam == 'RedHat':
cmd = 'needs-restarting -r > /dev/null 2>&1'
try: