diff options
-rw-r--r-- | backuper.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backuper.sh b/backuper.sh index 826e34a..a354c06 100644 --- a/backuper.sh +++ b/backuper.sh @@ -149,6 +149,7 @@ after() { } run() { + [ -z "$COMMAND" -a -z "$PLACES" ] && error "Specify backup before run command" title "Run command" echo "$@" echo $@ | /usr/bin/time -f "$(time_fmt "Command took")" $REMOTE sh -s |