Code

Added check.
authorjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 9 Sep 2008 15:53:10 +0000 (15:53 +0000)
committerjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 9 Sep 2008 15:53:10 +0000 (15:53 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12383 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/modules/GosaPackages.pm

index e5dae76e15fdcd8a4f9e44148199bdea34db3712..a2cf9f040096fde021aa4a1acb4512aaed2a4f7c 100644 (file)
@@ -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 {