OK, not an error, per se, but starting on line 62, I see:
if [[ ! ( $USE_COZ_SFTP == "true" && -x "$SFTP_SERVER" ) ]]; then
exec /usr/lib/ssh/sftp-server
exit $?
fi
isn't the "exit $?" unreachable because the preceeding "exec" command will replace the currently executing image, thus no "return" from "exec" is possible? OK, it is not going to cause a problem. I'm just a pain <grin>.
sftp_server.sh 1.7.4 script "error"
-
- Posts: 39
- Joined: Sat Nov 21, 2009 2:59 pm