aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xshare/msec5
1 files changed, 5 insertions, 0 deletions
diff --git a/share/msec b/share/msec
index 9a28027..19cc68a 100755
--- a/share/msec
+++ b/share/msec
@@ -10,6 +10,11 @@
# the security level.
#---------------------------------------------------------------
+if [ "`whoami`" != "root" ]; then
+ echo 'msec: sorry, you must be root !'
+ exit 1
+fi
+
LCK=/var/run/msec.pid
function cleanup() {