generated from me/template-mit
Only show the output if not running as root.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
# Notes:
|
||||
# - Please keep this file working for both BASH and ZSH. :)
|
||||
|
||||
[[ $(whoami) != "root" ]] &&
|
||||
echo "`date` - Shared RC Config - Loading..."
|
||||
|
||||
|
||||
@@ -60,4 +61,5 @@ function send-masters {
|
||||
|
||||
## Complete! ##
|
||||
|
||||
[[ $(whoami) != "root" ]] &&
|
||||
echo "`date` - Shared RC Config - Complete!"
|
||||
|
||||
Reference in New Issue
Block a user