Explorar o código

fix reportbuild for non-systemd systems

Noah Vogt %!s(int64=2) %!d(string=hai) anos
pai
achega
9ca14f7896
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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