소스 검색

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