Skip to content
Snippets Groups Projects
Select Git revision
  • 4db7ebf857a3fb98b0d6527478f5da5f32f6ef9a
  • buster default protected
  • bullseye
  • master protected
4 results

0028-_adcli_call_external_program-silence-noisy-debug-mes.patch

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    0028-_adcli_call_external_program-silence-noisy-debug-mes.patch 740 B
    From 185a8b7378665d1d0ef7dd4d5a78438459bad9e0 Mon Sep 17 00:00:00 2001
    From: Sumit Bose <sbose@redhat.com>
    Date: Wed, 8 Aug 2018 12:17:18 +0200
    Subject: [PATCH 28/30] _adcli_call_external_program: silence noisy debug
     message
    
    ---
     library/adutil.c | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/library/adutil.c b/library/adutil.c
    index 6334b52..17d2caa 100644
    --- a/library/adutil.c
    +++ b/library/adutil.c
    @@ -672,7 +672,7 @@ done:
     		if (wret == -1) {
     			_adcli_err ("No sure what happend to net command.");
     		} else {
    -			if (WIFEXITED (status)) {
    +			if (WIFEXITED (status) && WEXITSTATUS (status) != 0) {
     				_adcli_err ("net command failed with %d.",
     				            WEXITSTATUS (status));
     			}
    -- 
    2.11.0