Selaa lähdekoodia

fix reportbuild for non-systemd systems

Noah Vogt 1 vuosi sitten
vanhempi
sitoutus
9ca14f7896
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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