summaryrefslogtreecommitdiffstats
path: root/bin/erancid.in
diff options
context:
space:
mode:
Diffstat (limited to 'bin/erancid.in')
-rwxr-xr-xbin/erancid.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/erancid.in b/bin/erancid.in
index 1106018..0377612 100755
--- a/bin/erancid.in
+++ b/bin/erancid.in
@@ -247,8 +247,7 @@ while(<INPUT>) {
$clean_run=1;
last;
}
- if (/Error:/) {
- s/^.*Error:/Error:/;
+ if (/^Error:/) {
print STDOUT ("$host elogin error: $_");
print STDERR ("$host elogin error: $_") if ($debug);
$clean_run=0;