summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2016-07-10 09:42:13 +0200
committerYorhel <git@yorhel.nl>2016-07-10 09:42:13 +0200
commit656dbc0df6a47463e13cadd051776713d7f64d0c (patch)
tree4c8c6f23e10772d5a4f1bac13b4d2b8fe5f66e41
parent576e1e0fad1d970402c69a59cfa1cb7db446e356 (diff)
globsterctl: Fix perl warning about precedence
-rwxr-xr-xutil/globsterctl2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/globsterctl b/util/globsterctl
index 5d75469..22d967d 100755
--- a/util/globsterctl
+++ b/util/globsterctl
@@ -222,7 +222,7 @@ cmd shutdown => '', sub {
};
-exit help && 0 if !$cmds{$cmd};
+exit(help && 0) if !$cmds{$cmd};
$g = ($busarg ? Net::DBus->system : Net::DBus->session)->get_service("net.blicky.Globster")->get_object("/net/blicky/Globster");
$hubm = $g->get_child_object("/HubManager");