From: janw Date: Tue, 9 Sep 2008 15:53:10 +0000 (+0000) Subject: Added check. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5572783b776137bfa7112828bbc245c6702774d7;p=gosa.git Added check. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12383 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/modules/GosaPackages.pm b/gosa-si/modules/GosaPackages.pm index e5dae76e1..a2cf9f040 100644 --- a/gosa-si/modules/GosaPackages.pm +++ b/gosa-si/modules/GosaPackages.pm @@ -271,7 +271,7 @@ sub process_job_msg { scope => 'sub', attrs => ['cn'], filter => "(macAddress=$macaddress)"); - if($mesg->code) { + if($mesg->code || ($mesg->count!=1)) { &main::daemon_log($mesg->error, 1); $plain_name = "none"; } else {