Fix example.

v0.11
Martin Dosch 2 months ago
parent ea4281dfbe
commit 6f5a8898bd
No known key found for this signature in database
GPG Key ID: 52A57CFCE13D657D

@ -159,7 +159,7 @@ tail -f example.log | ./go-sendxmpp -cif ./sendxmpp chat1@conference.example.com
Send a notification if a long running process finishes.
```bash
waitpid $(pidof -s rsync) && echo "Rsync finished successfully."|go-sendxmpp recipient@example.com || echo "Rsync failed."|go-sendxmpp recipient@example.com
waitpid $(pidof -s rsync) && echo "Rsync finished."|go-sendxmpp recipient@example.com
```
### shell completion

Loading…
Cancel
Save