olafrv / netdump

A tool to remotly backup the configuration of networked switches, routers, firewalls and servers using expect php library, git version control and many other Linux utilities.
GNU General Public License v3.0
2 stars 7 forks source link

Unhandle EOF could lead to unhandled error or false successful exit code. #2

Closed olafrv closed 7 years ago

olafrv commented 7 years ago

Allow to end expect EOF result not triggering and error can lead to unhandled error or false successful exit code.

olafrv commented 7 years ago

Resolved in: master d106fa9] Bugfix #2 Unhandle EOF could lead to unhandled error or false successful exit code.

olafrv commented 7 years ago

EOF should be an error result, doing 'finish' can not avoid it: https://github.com/olafrv/netdump/commit/c08a9b5f22288d5618f2d68ca336a8d8186f9db4.