Skip to content

Commit 3d2f8df

Browse files
author
brainfucksec
committed
v0.4.1, Fix exception in the start_backup function
1 parent 088f2a4 commit 3d2f8df

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

data/excluderc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# examples of exclude patterns
1111
Downloads/
1212
Desktop/
13-
.backups
13+
.backups/
1414
.dbus/
1515
.gvfs/
1616
.local/share/gvfs-metadata/

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
set -euo pipefail
1616

1717
PROG_NAME="rbackup"
18-
VERSION="0.4.0"
18+
VERSION="0.4.1"
1919
PROG_DIR="$HOME/bin"
2020
DATA_DIR="$HOME/.config"
2121

rbackup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
# Program information
2929
readonly prog_name="rbackup"
30-
readonly version="0.4.0"
30+
readonly version="0.4.1"
3131
readonly signature="Copyright (C) 2018-2020 Brainfuck"
3232

3333
# Initialize arguments
@@ -204,7 +204,7 @@ start_backup() {
204204
if [[ -d "${ext_dir_1}" ]]; then
205205
cp "${filename}.tar.gz.gpg" "${ext_dir_1}"
206206
else
207-
die "No external volumes were found, skipping..."
207+
printf "%s\\n" "$(date +'%Y/%m/%d %T') No external volumes were found, skipping..." >>"${log_file}"
208208
fi
209209

210210
if [[ -d "${ext_dir_2}" ]]; then

0 commit comments

Comments
 (0)