aboutsummaryrefslogtreecommitdiffstats
path: root/ausgezornt.go
diff options
context:
space:
mode:
Diffstat (limited to 'ausgezornt.go')
-rw-r--r--ausgezornt.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ausgezornt.go b/ausgezornt.go
index 26a7e29..f024c2d 100644
--- a/ausgezornt.go
+++ b/ausgezornt.go
@@ -51,7 +51,7 @@ func main() {
if time.Since(last).Hours() > float64(*timeout) {
if !c.Club_offen {
if !*dryrun {
- cmd := exec.Command("shutdown", "-h +5")
+ cmd := exec.Command("shutdown", "-h", "+5")
cmd.Start()
} else {
fmt.Println("I advise against letting this machine run any longer.");