Fix: missing error handling goto statement in runas
[lttng-tools.git] / src / common / runas.c
index 3916d6754314eadd4947b576dbcb4d98273ad861..4a8536c6de0eb1063ed9b4f351d1f40c37355c50 100644 (file)
@@ -710,6 +710,7 @@ int run_as_cmd(struct run_as_worker *worker,
                PERROR("Error reading response from run_as");
                ret = -1;
                ret_value->_errno = errno;
+               goto end;
        }
 
        /*
This page took 0.022823 seconds and 4 git commands to generate.