o=Robert.Read
i=grev
test_100: fix both calls to error
if [ $LPORT -ge 1024 ]; then
echo "bad: $PROT $SND $RCV $LOCAL $REMOTE $STAT"
netstat -tna
- error "local: $LPORT > 1024, remote: $RPORT"
+ error_exit "local: $LPORT > 1024, remote: $RPORT"
fi
done
- [ "$rc" = 0 ] || { error "privileged port not found"; exit 1; } )
+ [ "$rc" = 0 ] || error_exit "privileged port not found" )
}
run_test 100 "check local port using privileged port ==========="