From 427bb23b701519c6a63f6de85b566a0747613427 Mon Sep 17 00:00:00 2001 From: Tino Vazquez Date: Thu, 20 Sep 2012 13:10:58 +0200 Subject: [PATCH] feature #1437: VMFS LN with no ssh will call clone --- src/tm_mad/vmfs/ln | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tm_mad/vmfs/ln b/src/tm_mad/vmfs/ln index 465735617d..44da4da6ad 100755 --- a/src/tm_mad/vmfs/ln +++ b/src/tm_mad/vmfs/ln @@ -73,8 +73,8 @@ EOF ssh_exec_and_log $DST_HOST "$LINK_SCRIPT" \ "Could not link dir files from source DS to system DS" else - log "Cannot link files without SSH enabled on the ESX hosts" - exit 1 + log "Cannot link files without SSH enabled on the ESX hosts, calling clone" + exec $(dirname $0)/clone $* fi exit 0