]> git.ipfire.org Git - thirdparty/suricata-update.git/commitdiff
Quote reload command 42/head
authorAnh Le <anhlqn@gmail.com>
Fri, 27 Jul 2018 06:21:32 +0000 (23:21 -0700)
committerGitHub <noreply@github.com>
Fri, 27 Jul 2018 06:21:32 +0000 (23:21 -0700)
suricata-update throws error if the command is not quoted.
```
suricata-update: error: unrecognized arguments: kill -USR2
```

doc/update.rst

index 0233cc3c7fdaa81600f52ab87ece0a647388ed85..998c28b08058b8b8a0c033df08f3dde039f08d78 100644 (file)
@@ -160,7 +160,7 @@ Options
    A command to run after the rules have been updated; will not run if
    no change to the output files was made.  For example::
 
-     --reload-command=sudo kill -USR2 $(cat /var/run/suricata.pid)
+     --reload-command='sudo kill -USR2 $(cat /var/run/suricata.pid)'
 
    will tell Suricata to reload its rules.