diff options
author | Romain d'Alverny <rdalverny@mandriva.org> | 2005-01-31 16:20:46 +0000 |
---|---|---|
committer | Romain d'Alverny <rdalverny@mandriva.org> | 2005-01-31 16:20:46 +0000 |
commit | 9aa5a8448fab90e9253131322e03db3a7c832619 (patch) | |
tree | b1efeffe5efbd9aa4535bf82d2519a53e3899792 /mdkupdate | |
parent | 674676f0b791e9dce5360caafd80751d15e9a895 (diff) | |
download | mgaonline-9aa5a8448fab90e9253131322e03db3a7c832619.tar mgaonline-9aa5a8448fab90e9253131322e03db3a7c832619.tar.gz mgaonline-9aa5a8448fab90e9253131322e03db3a7c832619.tar.bz2 mgaonline-9aa5a8448fab90e9253131322e03db3a7c832619.tar.xz mgaonline-9aa5a8448fab90e9253131322e03db3a7c832619.zip |
Moved is_running to mdkonline.pm. Added is_running call to mdkupdate.
Diffstat (limited to 'mdkupdate')
-rwxr-xr-x | mdkupdate | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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'; |