]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
coverity: #1425849 2383/head
authorDonghwa Jeong <dh48.jeong@samsung.com>
Fri, 8 Jun 2018 02:22:18 +0000 (11:22 +0900)
committerDonghwa Jeong <dh48.jeong@samsung.com>
Fri, 8 Jun 2018 02:22:18 +0000 (11:22 +0900)
Signed-off-by: Donghwa Jeong <dh48.jeong@samsung.com>
src/lxc/commands_utils.c

index 3a96b42dd825e3dffd1ae858bd846bcb0983b44c..426177ddc138e9f979327c8d47cb36fceb07ac6a 100644 (file)
@@ -73,9 +73,6 @@ again:
                return -1;
        }
 
-       if (ret < 0)
-               return -1;
-
        TRACE("Received state %s from state client %d",
              lxc_state2str(msg.value), state_client_fd);