Merge pull request #7 from alanivey/smallfix

Remove extra ']'
This commit is contained in:
2019-09-29 21:04:49 +02:00
committed by GitHub

View File

@@ -3040,7 +3040,7 @@ verify_snapper_structure () {
fi
cmd="$ssh btrfs subvolume create $backup_root/$snapper_snapshots 2>/dev/null"
ret=$(eval $cmd)
if [ $? -ne 0 ]]; then
if [ $? -ne 0 ]; then
printf "${RED}Error: ${MAGENTA}Creation of snapper subvolume ${GREEN}%s${MAGENTA} failed${NO_COLOR}\n" \
"$backup_root/$snapper_snapshots"
return 1