diff --git a/src/datastore_mad/remotes/common/not_supported.sh b/src/datastore_mad/remotes/common/not_supported.sh index 8c732737f3..08b87b2687 100755 --- a/src/datastore_mad/remotes/common/not_supported.sh +++ b/src/datastore_mad/remotes/common/not_supported.sh @@ -18,7 +18,9 @@ script_name=$(basename $0) -echo "$script_name: Operation not supported" &>2 +source $(dirname $0)/../../scripts_common.sh + +error_message "$script_name: Operation not supported" exit 1 diff --git a/src/tm_mad/common/not_supported.sh b/src/tm_mad/common/not_supported.sh index 8c732737f3..08b87b2687 100755 --- a/src/tm_mad/common/not_supported.sh +++ b/src/tm_mad/common/not_supported.sh @@ -18,7 +18,9 @@ script_name=$(basename $0) -echo "$script_name: Operation not supported" &>2 +source $(dirname $0)/../../scripts_common.sh + +error_message "$script_name: Operation not supported" exit 1