Преглед изворни кода

fix reportbuild for non-systemd systems

Noah Vogt пре 1 година
родитељ
комит
9ca14f7896
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      local-bin/reportbuild

+ 1 - 1
local-bin/reportbuild

@@ -6,4 +6,4 @@ if sendreportmail | grep -q "BUILD SUCCESS"; then
         cr
     fi
 fi
-sudo systemctl suspend
+loginctl suspend || sudo systemctl suspend