fix the commit

Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
Simon L. 2024-11-08 14:50:35 +01:00
parent 019664afc1
commit ccf445a5d1

View file

@ -66,7 +66,7 @@ if [ -n "$BORG_REMOTE_REPO" ] && ! [ -f "$BORGBACKUP_KEY" ]; then
ssh-keygen -f "$BORGBACKUP_KEY" -N "" ssh-keygen -f "$BORGBACKUP_KEY" -N ""
echo "You should configure the remote to accept this public key" echo "You should configure the remote to accept this public key"
fi fi
if [ -n "$BORG_REMOTE_REPO" ] if [ -n "$BORG_REMOTE_REPO" ] && [ -f "$BORGBACKUP_KEY.pub" ]; then
echo "Your public ssh key for borgbackup is: $(cat "$BORGBACKUP_KEY.pub")" echo "Your public ssh key for borgbackup is: $(cat "$BORGBACKUP_KEY.pub")"
fi fi