diff --git a/salt/common/tools/sbin/so-status b/salt/common/tools/sbin/so-status index cf068c86b..debf45279 100755 --- a/salt/common/tools/sbin/so-status +++ b/salt/common/tools/sbin/so-status @@ -15,21 +15,26 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . +MYNAME="${0##*/}" + if ! [ "$(id -u)" = 0 ]; then - echo "This command must be run as root" + echo "${MYNAME}: This command must be run as root" exit 1 fi display_help() { -cat <