aboutsummaryrefslogtreecommitdiff
path: root/networking/tcpudp.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/tcpudp.c')
-rw-r--r--networking/tcpudp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/tcpudp.c b/networking/tcpudp.c
index d4c69e0f7..2feb63a01 100644
--- a/networking/tcpudp.c
+++ b/networking/tcpudp.c
@@ -318,7 +318,7 @@ int tcpudpsvd_main(int argc UNUSED_PARAM, char **argv)
sslser = user;
client = 0;
if ((getuid() == 0) && !(opts & OPT_u)) {
- xfunc_exitcode = 100;
+ xfunc_error_retval = 100;
bb_error_msg_and_die(bb_msg_you_must_be_root);
}
if (opts & OPT_u)