mirror of
https://github.com/opnsense/src.git
synced 2026-02-25 19:05:20 -05:00
The #define for warnx now behaves much like the libc function (except that it uses sh command name and output). Also, it now uses C99 __VA_ARGS__ so there is no need for three different macros for 0, 1 or 2 parameters.
5 lines
73 B
Text
5 lines
73 B
Text
# $FreeBSD$
|
|
|
|
set -e
|
|
v=$(! printf "%d" 4wrong 2>/dev/null)
|
|
[ "$v" = "4" ]
|