From ad926943531535c020e3e959e805f6edb388a9b6 Mon Sep 17 00:00:00 2001 From: gau1991 Date: Fri, 14 Nov 2014 16:51:12 +0530 Subject: [PATCH] Fixed Remote method logic --- bin/easyengine | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/easyengine b/bin/easyengine index 11bee08b..14becc00 100644 --- a/bin/easyengine +++ b/bin/easyengine @@ -759,7 +759,7 @@ elif [ "$EE_FIRST" = "site" ]; then ee_lib_error "Missing arguments --remote-host, exit status = " 1 elif [ "$EE_REMOTE_USER" = "" ]; then ee_lib_error "Missing arguments --remote-user, exit status = " 1 - elif [ "$EE_REMOTE_METHOD" != "ssh" ] || [ "$EE_REMOTE_METHOD" != "sftp" ] || [ "$EE_REMOTE_METHOD" != "ftp" ]; then + elif [ "$EE_REMOTE_METHOD" != "ssh" ] && [ "$EE_REMOTE_METHOD" != "sftp" ] && [ "$EE_REMOTE_METHOD" != "ftp" ]; then ee_lib_error "EasyEngine migration supports only ssh, sftp and ftp methods, exit status = " 1 elif [ "$EE_REMOTE_PATH" == "" ]; then EE_REMOTE_PATH="/var/www/$EE_DOMAIN/htdocs"