diff --git a/README.md b/README.md index c738dd8..782a7b0 100644 --- a/README.md +++ b/README.md @@ -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