From 6f5a8898bdfddc26f857a9c9bfa50f3b910235c3 Mon Sep 17 00:00:00 2001 From: Martin Dosch Date: Sun, 7 Jul 2024 20:10:05 +0200 Subject: [PATCH] Fix example. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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