about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2021-07-02 08:36:51 +0200
committerMichael Vetter <jubalh@iodoru.org>2021-07-02 08:36:51 +0200
commit2cbea9daad9a4c8dd3cae7b7f8724aae6168a821 (patch)
tree1c04607df3f847b9d2dde5e8b22bbdac1b6f6729 /src
parent34b5e0f8c60c2319782835f3b58033c460e45ae3 (diff)
downloadprofani-tty-2cbea9daad9a4c8dd3cae7b7f8724aae6168a821.tar.gz
cmd_blocked: Exit when wrong arguments
Diffstat (limited to 'src')
-rw-r--r--src/command/cmd_funcs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c
index 8e474e2b..88ab9712 100644
--- a/src/command/cmd_funcs.c
+++ b/src/command/cmd_funcs.c
@@ -3058,6 +3058,7 @@ cmd_blocked(ProfWin* window, const char* const command, gchar** args)
             jid = args[1];
         } else {
             cons_bad_cmd_usage(command);
+            return TRUE;
         }
 
         if (argn >= 3) {
n10'>10
11
12
13
14
15
16
17
18
19
20


              


         
            
 

                       

                                                                                                
       

                                             
language: rust

rust:
  - stable

os: 
  - linux

dist: bionic

env:
  - RUST_TEST_THREADS=1

before_script:
    - bash <(curl https://raw.githubusercontent.com/xd009642/tarpaulin/master/travis-install.sh)

script:
    - cargo build --verbose
    - cargo tarpaulin --out Xml
    - bash <(curl -s https://codecov.io/bash)