master
Bel LaPointe 2019-07-03 14:27:45 -06:00
parent 2cde5fbb38
commit 370a033a62
1 changed files with 5 additions and 4 deletions

View File

@ -19,10 +19,11 @@ function main() {
local action="$1"
shift
case "$action" in
clean ) clean_remote --prune "$@" ;;
backup ) backup "$@" ;;
restore ) restore "$@" ;;
* ) RESTIC "$action" "$@" ;;
clean ) clean_remote --prune "$@" ;;
backup ) backup "$@" ;;
restore ) restore "$@" ;;
forget ) fatal "Refusing custom forget" ;;
* ) RESTIC "$action" "$@" ;;
esac
}