aboutsummaryrefslogtreecommitdiffstats
path: root/ausgezornt.go
diff options
context:
space:
mode:
authorgithubert <ikseno@googlemail.com>2012-09-18 21:06:28 +0200
committergithubert <ikseno@googlemail.com>2012-09-18 21:06:28 +0200
commit83154d8c44642e3a167c413c7027934aa5b23bd1 (patch)
treed309107cf82f20f7f870115bc15c29f2e2cedace /ausgezornt.go
parentd5ea2b2ae8ee6d49c56a6c9b93dcf58d490dbd89 (diff)
These are two parameters
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.");