Skip to content

Commit

Permalink
🔒 Fix minor data exposure vulnerability
Browse files Browse the repository at this point in the history
  • Loading branch information
rugk committed Sep 3, 2017
1 parent 3babd8c commit ff9a723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion borgcron.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ if [ "$BACKUP_NAME" = "" ] ||
echo 'Some required variables may not be set in the config file. Cancel backup.'
exit 1
fi
if ! export|grep "BORG_REPO"; then
if ! export|grep -q "BORG_REPO"; then
echo 'The BORG_REPO variable is not exported in the config file. Cancel backup.'
exit 1
fi
Expand Down

1 comment on commit ff9a723

@rugk
Copy link
Owner Author

@rugk rugk commented on ff9a723 Sep 3, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.