From 3cf0fe904d6ae628240d9f6d1b1dbcc651ce25d9 Mon Sep 17 00:00:00 2001 From: janw Date: Wed, 20 Feb 2008 13:52:22 +0000 Subject: [PATCH] Removed newlines from cmd output. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8989 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/modules/SIPackages.pm | 2 ++ 1 file changed, 2 insertions(+) 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, -- 2.30.2