From e8dd2d3ed97efe1b0e0a94de312ab6c54efbc11f Mon Sep 17 00:00:00 2001 From: Janek Bevendorff Date: Mon, 6 Oct 2014 13:05:38 +0200 Subject: [PATCH] Don't show notifications on Cygwin --- client/usr/bin/rs-backup-run | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client/usr/bin/rs-backup-run b/client/usr/bin/rs-backup-run index 7cce209..5039e5d 100755 --- a/client/usr/bin/rs-backup-run +++ b/client/usr/bin/rs-backup-run @@ -169,6 +169,11 @@ desktop_notify() { local urgency local user + if [[ "$(uname -o)" == "Cygwin" ]]; then + # not implemented + return + fi + command -v notify-send > /dev/null 2>&1 if [ $? -ne 0 ]; then # notify-send not available