Browse Source

Corrected port variable error

Simon Royer 2 năm trước cách đây
mục cha
commit
6fe9552738
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      backup.sh

+ 1 - 1
backup.sh

@@ -9,4 +9,4 @@ destusername='simon'
 destport='27022'
 
 test=$(ssh -p $vpngatewayport root@$vpngateway -C 'cat /root/home.ip')
-rsync -av -e 'ssh -p $destport' $backupsource simon@$test:$backupdest
+rsync -av -e "ssh -p $destport" $backupsource simon@$test:$backupdest