diff options
author | Florian Pritz <bluewind@xinu.at> | 2017-04-01 23:14:00 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2017-04-01 23:14:00 +0200 |
commit | 4b3c6874da1c45a666b58582f93254cfd5150d7d (patch) | |
tree | cd8d072b3a4ebc6da85e26066e588d7b2615f778 | |
parent | e56763721e595bd3337d7aadd688c47b545b3d8b (diff) | |
download | App-BorgRestore-4b3c6874da1c45a666b58582f93254cfd5150d7d.tar.gz App-BorgRestore-4b3c6874da1c45a666b58582f93254cfd5150d7d.tar.xz |
Fix codingstyle
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-x | script/borg-restore.pl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/script/borg-restore.pl b/script/borg-restore.pl index 32eba63..7f8d8d4 100755 --- a/script/borg-restore.pl +++ b/script/borg-restore.pl @@ -177,12 +177,11 @@ sub user_select_archive { my $selected_archive; - my $counter = 0; - if (!@$archives) { return; } + my $counter = 0; for my $archive (@$archives) { printf "\e[0;33m%3d: \e[1;33m%s\e[0m %s\n", $counter++, $app->format_timestamp($archive->{modification_time}), $archive->{archive}; } |