From: janw Date: Wed, 20 Feb 2008 13:52:22 +0000 (+0000) Subject: Removed newlines from cmd output. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3cf0fe904d6ae628240d9f6d1b1dbcc651ce25d9;p=gosa.git Removed newlines from cmd output. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8989 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/modules/SIPackages.pm b/gosa-si/modules/SIPackages.pm index 470920865..3250fb1cf 100644 --- a/gosa-si/modules/SIPackages.pm +++ b/gosa-si/modules/SIPackages.pm @@ -91,6 +91,7 @@ if((not defined($gosa_unit_tag)) || length($gosa_unit_tag) == 0) { } else { # Perform another search for Unit Tag my $hostname= `hostname -f`; + chomp($hostname); &main::daemon_log("Searching for servers gosaUnitTag with hostname $hostname",6); $mesg = $tmp_ldap->search( base => $ldap_base, @@ -108,6 +109,7 @@ if((not defined($gosa_unit_tag)) || length($gosa_unit_tag) == 0) { } else { # Perform another search for Unit Tag $hostname= `hostname -s`; + chomp($hostname); &main::daemon_log("Searching for servers gosaUnitTag with hostname $hostname",6); $mesg = $tmp_ldap->search( base => $ldap_base,