summaryrefslogtreecommitdiff
path: root/func.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'func.zsh')
-rw-r--r--func.zsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/func.zsh b/func.zsh
index 470f5db..bf5b3d2 100644
--- a/func.zsh
+++ b/func.zsh
@@ -1,3 +1,4 @@
+
check_root()
{
if [ `whoami` != root ]; then echo "Run this script as root, exiting!"; exit; fi