Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug - Multi-command reports success when commands failed #42

Open
z1pti3 opened this issue Nov 21, 2021 · 1 comment
Open

Bug - Multi-command reports success when commands failed #42

z1pti3 opened this issue Nov 21, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@z1pti3
Copy link
Owner

z1pti3 commented Nov 21, 2021

When using multicommand when you get errors it says they are ok anyway?

               "commands": [
                    {
                         "command": "apt-get update",
                         "data": "Reading package lists...\n",
                         "errors": [
                              "E: Could not get lock /var/lib/apt/lists/lock. It is held by process 1374 (apt-get)\n",
                              "E: Unable to lock directory /var/lib/apt/lists/\n"
                         ],
                         "msg": "Command succesfull",
                         "rc": 100,
                         "result": true
                    },
                    {
                         "command": "apt-get dist-upgrade -y",
                         "data": "",
                         "errors": [
                              "E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 1219 (apt-get)\n",
                              "E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?\n"
                         ],
                         "msg": "Command succesfull",
                         "rc": 100,
                         "result": true
                    }
               ],
               "errors": "",
               "msg": "All commands ran",
               "rc": 0,
               "result": true
@z1pti3 z1pti3 added the bug Something isn't working label Nov 21, 2021
@z1pti3
Copy link
Owner Author

z1pti3 commented Nov 21, 2021

@b1scuit-thi3f - Did you have a fix for this I seem to remember it happening before?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant