From affa_pan at hotmail.com Wed Apr 22 12:13:22 2026 From: affa_pan at hotmail.com (Pan Affa) Date: Wed, 22 Apr 2026 12:13:22 +0000 Subject: [rancid] [ERROR] lib/rancid/rancid.pm Message-ID: Dear Haussli, I have a situation about that when rancid fetch Cisco device's configuration if the last command 'write term' occurs error. The script 'rancid' will not keep the xxx.new file. After I debuged it, I found the codes in the lib/rancid/rancid.pm will result in the 'rancid' script doesn't show the error message (the missing cmd: xxx). # Use an array to preserve the order of the commands and a hash for mapping # commands to the subroutine and track commands that have been completed. @commands = map(keys(%$_), @commandtable); %commands = map(%$_, @commandtable); $commandcnt = scalar(keys(%commands)); -------------- next part -------------- An HTML attachment was scrubbed... URL: