X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Frunas.c;h=4bd356a0499f2119a227a69b324ab5248d7ba8a0;hp=0a588482644f5138b138edfc39ab3002ebb48aeb;hb=938c57de605e65da12654a4963e466eb3ea4a85e;hpb=3c5427016ecdb32b5d75af2112371dd22c6889d3 diff --git a/src/common/runas.c b/src/common/runas.c index 0a5884826..4bd356a04 100644 --- a/src/common/runas.c +++ b/src/common/runas.c @@ -812,7 +812,6 @@ int run_as(enum run_as_cmd cmd, struct run_as_data *data, DBG("Socket closed unexpectedly... " "Restarting the worker process"); ret = run_as_restart_worker(global_worker); - if (ret == -1) { ERR("Failed to restart worker process."); goto err;