summaryrefslogtreecommitdiffstats
path: root/bin/erancid.in
diff options
context:
space:
mode:
authorTar Committer <tar@ocjtech.us>2001-04-09 07:32:33 +0000
committerTar Committer <tar@ocjtech.us>2001-04-09 07:32:33 +0000
commit0e84b727786a16ade28bb081742e5c39c33ed7fa (patch)
tree12ee1a75666c0af32ecc7fbdc05c3a5833fb6fb8 /bin/erancid.in
parentb88919bea4b222a616adbdd2b82fc262a14afc8d (diff)
downloadrancid-0e84b727786a16ade28bb081742e5c39c33ed7fa.tar.gz
rancid-0e84b727786a16ade28bb081742e5c39c33ed7fa.tar.xz
rancid-0e84b727786a16ade28bb081742e5c39c33ed7fa.zip
Imported from rancid-2.2b.tar.gz.rancid-2.2b
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;