Also send notifications to the console if verbose

This commit is contained in:
Paul van Tilburg 2016-08-21 21:45:47 +02:00
parent 9ccf3d2b15
commit 070b047f92
1 changed files with 1 additions and 0 deletions

View File

@ -7,6 +7,7 @@
# Nofication function
notify() {
notify-send -i deja-dup "$1"
test -z "$RESTIC_QUIET" && echo "I: $1"
}
# Check if a --verbose argument is passed, otherwise use quiet