From 201fc0401399fed7cc2625275c69a06a16025670 Mon Sep 17 00:00:00 2001 From: "Ruben S. Montero" Date: Wed, 1 Jul 2015 17:42:44 +0200 Subject: [PATCH] feature #3782: Updated not_supported action to make use of logging functions --- src/datastore_mad/remotes/common/not_supported.sh | 4 +++- src/tm_mad/common/not_supported.sh | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) 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