From 5572783b776137bfa7112828bbc245c6702774d7 Mon Sep 17 00:00:00 2001 From: janw Date: Tue, 9 Sep 2008 15:53:10 +0000 Subject: [PATCH] Added check. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12383 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/modules/GosaPackages.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.30.2