mirror of
git://anongit.mindrot.org/openssh.git
synced 2025-03-11 09:17:38 +00:00
Remove only use of warn().
The warn() function is only used in one place in portable and does not exist upstream. Upgrade the only instance it's used to fail() (the privsep/sandbox+proxyconnect, from back when that was new) and remove the now-unused function.
This commit is contained in:
parent
fea8f4b1aa
commit
d1bd184046
@ -16,8 +16,7 @@ echo 'UsePrivilegeSeparation sandbox' >> $OBJ/sshd_proxy
|
||||
|
||||
${SSH} -F $OBJ/ssh_proxy 999.999.999.999 true
|
||||
if [ $? -ne 0 ]; then
|
||||
# XXX replace this with fail once sandbox has stabilised
|
||||
warn "ssh privsep/sandbox+proxyconnect failed"
|
||||
fail "ssh privsep/sandbox+proxyconnect failed"
|
||||
fi
|
||||
|
||||
# Because sandbox is sensitive to changes in libc, especially malloc, retest
|
||||
|
@ -429,12 +429,6 @@ verbose ()
|
||||
fi
|
||||
}
|
||||
|
||||
warn ()
|
||||
{
|
||||
echo "WARNING: $@" >>$TEST_SSH_LOGFILE
|
||||
echo "WARNING: $@"
|
||||
}
|
||||
|
||||
fail ()
|
||||
{
|
||||
save_debug_log "FAIL: $@"
|
||||
|
Loading…
Reference in New Issue
Block a user