From ba1d8f0bca9a183626b783b8b5dd8fa60d906b64 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Wed, 19 Jan 2011 10:25:13 -0800 Subject: [PATCH] Do nothing if usermin is missing --- usermin/update.pl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/usermin/update.pl b/usermin/update.pl index f5e5a0ab2..db18fa423 100755 --- 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'}) {