Skip to content

Commit e83eae6

Browse files
author
Christopher M. Neill
committed
better error messaging
1 parent 20fad05 commit e83eae6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ansible/roles/loggly/files/archiveOldLogs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
# we only want this run as root
88
if [ "root" != `whoami` ] ; then
9-
echo "This script needs to be run as root."
9+
echo "${0}: ERROR - This script needs to be run as root."
1010
exit 127
1111
fi
1212

0 commit comments

Comments
 (0)