Explorar el Código

fix reportbuild for non-systemd systems

Noah Vogt hace 1 año
padre
commit
9ca14f7896
Se han modificado 1 ficheros con 1 adiciones y 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