projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67e93b1
)
Do nothing if usermin is missing
author
Jamie Cameron
<jcameron@webmin.com>
Wed, 19 Jan 2011 18:25:13 +0000
(10:25 -0800)
committer
Jamie Cameron
<jcameron@webmin.com>
Wed, 19 Jan 2011 18:25:13 +0000
(10:25 -0800)
usermin/update.pl
patch
|
blob
|
history
diff --git
a/usermin/update.pl
b/usermin/update.pl
index
f5e5a0a
..
db18fa4
100755
(executable)
--- a/
usermin/update.pl
+++ b/
usermin/update.pl
@@
-4,6
+4,10
@@
$no_acl_check++;
require './usermin-lib.pl';
+if (!-r "$config{'usermin_dir'}/miniserv.conf") {
+ # Usermin not installed
+ exit(0);
+ }
# Get the update source
if ($config{'upsource'}) {