diff options
| author | Michael Biebl <biebl@debian.org> | 2022-11-18 17:48:09 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2022-11-18 17:48:09 +0100 |
| commit | 913bcb40f6c699f8a38351c69e7ea263fe78f71f (patch) | |
| tree | 79508469b79e31338d898459da15070e2a62b049 /src/nmcli/devices.c | |
| parent | 9f101839d9e64df832e9e43c5181887369c46a7e (diff) | |
New upstream version 1.40.4 upstream/1.40.4
Diffstat (limited to 'src/nmcli/devices.c')
| -rw-r--r-- | src/nmcli/devices.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nmcli/devices.c b/src/nmcli/devices.c index 43bd3724..9b7ebce3 100644 --- a/src/nmcli/devices.c +++ b/src/nmcli/devices.c @@ -2919,6 +2919,8 @@ do_devices_monitor(const NMCCommand *cmd, NmCli *nmc, int argc, const char *cons nmc->return_value = NMC_RESULT_ERROR_USER_INPUT; return; } + if (!devices) + return; } else { /* No devices specified. Monitor all. */ devices = nm_client_get_devices(nmc->client); |