diff --git a/bot_z/cli.py b/bot_z/cli.py index 864ae96..30033e7 100644 --- a/bot_z/cli.py +++ b/bot_z/cli.py @@ -182,6 +182,11 @@ def status_command(ctx: click.Context): logger.warning("File not found: %s", e) pass logger.info(resp) + try: + os.remove(rfifo_path) + except OSError as e: + logger.warning("Failed removing response fifo %s: %s", rfifo_path, e) + pass if __name__ == "__main__":