summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 99fc257)
raw | patch | inline | side by side (parent: 99fc257)
author | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 9 Sep 2008 15:53:10 +0000 (15:53 +0000) | ||
committer | janw <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 | patch | blob | history |
index e5dae76e15fdcd8a4f9e44148199bdea34db3712..a2cf9f040096fde021aa4a1acb4512aaed2a4f7c 100644 (file)
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 {