Improve error handling of lttng cli
[lttng-tools.git] / src / bin / lttng / commands / calibrate.c
index 547b349e4dbb713d67f6862d61debb74a4e57de8..dc95d246956739371fec8bf0f7853f8409c5a43a 100644 (file)
@@ -156,7 +156,6 @@ static int calibrate_lttng(void)
                calibrate.type = LTTNG_CALIBRATE_FUNCTION;
                ret = lttng_calibrate(handle, &calibrate);
                if (ret < 0) {
-                       ret = CMD_ERROR;
                        goto error;
                }
                MSG("%s calibration done", opt_kernel ? "Kernel" : "UST");
This page took 0.022983 seconds and 4 git commands to generate.