X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Frotate.c;h=312bbba9ccbf982a9f1a9ff65e592365ea276f3f;hb=0d516803f01920a6120fffc49206e82b2e1b1fba;hp=7439f4fbe96e9eaef585810f62984b9061ab857c;hpb=91c4d516d04451cd1716fe3721748dae9e9d3753;p=lttng-tools.git diff --git a/src/bin/lttng/commands/rotate.c b/src/bin/lttng/commands/rotate.c index 7439f4fbe..312bbba9c 100644 --- a/src/bin/lttng/commands/rotate.c +++ b/src/bin/lttng/commands/rotate.c @@ -228,7 +228,6 @@ skip_wait: break; case LTTNG_ROTATION_STATE_ERROR: ERR("Failed to retrieve rotation state."); - print_location = false; goto error; case LTTNG_ROTATION_STATE_ONGOING: MSG("Rotation ongoing for session %s", session_name); @@ -236,7 +235,6 @@ skip_wait: break; default: ERR("Unexpected rotation state encountered."); - print_location = false; goto error; }