look for needs_restarted file

This commit is contained in:
m0duspwnens committed 2024-01-16 17:22:09 -05:00
1 parent dff06cb085
commit eeb249e00d
1 file changed
+1 -1
+1 -1
View File
@@ -8,7 +8,7 @@
# if this script isn't already running
if [[ ! "`pidof -x $(basename $0) -o %PPID`" ]]; then
NEEDS_RESTART=$(cat /var/log/sostatus/needs-restarted)
NEEDS_RESTART=$(cat /var/log/sostatus/needs_restarted)
echo "os restart=$NEEDS_RESTART"