Error #492
qmp_log locks qmpcontrol configure_network when nothing to print
100%
Description
E.g.: when no wireless interfaces.
Associated revisions
[qmp-system] Ensure qmp_log calls always have an argument
The qmp_log function blocks if no argument is sent. For instance,
qmp_log $(qmp_get_wifi_devices) would block if qmp_get_wifi_devices
would return empty.
Putting it into quotes does the trick: qmp_log "$(qmp_get_wifi_devices)"
Fixes #492
Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
[qmp-system] Ensure qmp_log calls always have an argument
The qmp_log function blocks if no argument is sent. For instance,
qmp_log $(qmp_get_wifi_devices) would block if qmp_get_wifi_devices
would return empty.
Putting it into quotes does the trick: qmp_log "$(qmp_get_wifi_devices)"
Fixes #492
Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
History
#1 Updated by Roger Pueyo Centelles over 1 year ago
- Status changed from Nou to Tancat
- % Done changed from 0 to 100
Aplicat en el conjunt de canvis 398aef2ab49ecc927cefd9a35c8efb9a4dc332aa.