diff --git a/src/tm_mad/ceph/postmigrate b/src/tm_mad/ceph/postmigrate index f56874e4fe..37bf1bb7ae 100755 --- a/src/tm_mad/ceph/postmigrate +++ b/src/tm_mad/ceph/postmigrate @@ -53,6 +53,13 @@ fi #-------------------------------------------------------------------------------- +if [ -n "$7" ]; then + log "Called from tm/$7 but I've nothing to do" + exit 0 +fi + +#-------------------------------------------------------------------------------- + migrate_other "$@" exec_and_log "$SSH $SRC_HOST rm -rf $DST_PATH" diff --git a/src/tm_mad/ceph/premigrate b/src/tm_mad/ceph/premigrate index c4845d40c5..892eb0ef01 100755 --- a/src/tm_mad/ceph/premigrate +++ b/src/tm_mad/ceph/premigrate @@ -53,6 +53,13 @@ fi #-------------------------------------------------------------------------------- +if [ -n "$7" ]; then + log "Called from tm/$7 but I've nothing to do" + exit 0 +fi + +#-------------------------------------------------------------------------------- + DST_PATH_DIRNAME=`dirname $DST_PATH` DST_PATH_BASENAME=`basename $DST_PATH`