summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xformat-notify2
1 files changed, 1 insertions, 1 deletions
diff --git a/format-notify b/format-notify
index a0114c7..5f9dddd 100755
--- a/format-notify
+++ b/format-notify
@@ -19,7 +19,7 @@ def clean_output(status, output):
return re.sub(r'^[- :]*', '', output)
def main():
- if len(sys.argv) < 4:
+ if len(sys.argv) < 5:
print('Usage: %s (PIPE|--test) SERVICE STATUS OUTPUT' % sys.argv[0])
sys.exit(1)