summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authord. johnson <fenris02@fedoraproject.org>2016-04-10 00:41:13 -0500
committerd. johnson <fenris02@fedoraproject.org>2016-04-10 00:41:13 -0500
commitcabac35a2a3b753b5b7846428f396c9df3115531 (patch)
tree7614cc94a9abc523ae74bead569da9c07507a735
parenta177d82f4aa69d45917b097bda115f307d38e483 (diff)
downloadcleanup-cabac35a2a3b753b5b7846428f396c9df3115531.tar.gz
cleanup-cabac35a2a3b753b5b7846428f396c9df3115531.tar.xz
cleanup-cabac35a2a3b753b5b7846428f396c9df3115531.zip
ssh keys check typo-fix
-rwxr-xr-xduplicity-backups.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/duplicity-backups.sh b/duplicity-backups.sh
index 9208032..ca99471 100755
--- a/duplicity-backups.sh
+++ b/duplicity-backups.sh
@@ -36,7 +36,7 @@ EXTRA_DUPLICITY="
# Additional TMP space needed, but may make it faster: --asynchronous-upload \
# Check to see if we have a SSH key
-if [ ! -e /root/.ssh/id_rsa ] || [ ! -e /root/.ssh/id_ed25519 ]; then
+if [ ! -e /root/.ssh/id_rsa ] && [ ! -e /root/.ssh/id_ed25519 ]; then
/bin/cat - <<EOT
Create an SSH key first. An example method:
/usr/bin/ssh-keygen -t ed25519 -N ''