summaryrefslogtreecommitdiffstats
path: root/mdkupdate
diff options
context:
space:
mode:
Diffstat (limited to 'mdkupdate')
-rwxr-xr-xmdkupdate2
1 files changed, 2 insertions, 0 deletions
diff --git a/mdkupdate b/mdkupdate
index c0b04595..fbc07090 100755
--- a/mdkupdate
+++ b/mdkupdate
@@ -27,6 +27,8 @@ use mdkonline;
BEGIN { unshift @::textdomains, 'mdkupdate' }
+mdkonline::is_running('mdkupdate') and die "mdkupdate already running\n";
+
require_root_capability();
my $confdir = '/root/.MdkOnline';