diff --git a/sat_frontends/jp/cmd_avatar.py b/sat_frontends/jp/cmd_avatar.py index 007d3d7c..baf32c0a 100644 --- a/sat_frontends/jp/cmd_avatar.py +++ b/sat_frontends/jp/cmd_avatar.py @@ -88,7 +88,8 @@ class Get(base.CommandBase): except OSError: pass else: - if ret == 0: + if ret in (0, 2): + # we can get exit code 2 with display when stopping it with C-c break else: # didn't worked with commands, we try our luck with webbrowser