From 370d25075cc559fd6f1227e6186e7f21dc468160 Mon Sep 17 00:00:00 2001 From: David Beniamine <david.beniamine@tetras-libre.fr> Date: Fri, 9 Apr 2021 17:06:44 +0200 Subject: [PATCH] Fixup --- restore_file.sh | 1 + 1 file changed, 1 insertion(+) mode change 100644 => 100755 restore_file.sh diff --git a/restore_file.sh b/restore_file.sh old mode 100644 new mode 100755 index 5f1ba76..d635327 --- a/restore_file.sh +++ b/restore_file.sh @@ -7,6 +7,7 @@ if [ -z "$2" ]; then echo "restore_path : path to restore without leading slash" echo "destination_path : path to download the file(s), duplicity will not override existing files" echo "timeago : optionnal : the age of the version we want to restore, for instance 6D for 6 days ago" + exit 1 fi if [ ! -z "$3" ]; then -- GitLab