Project

General

Profile

Error #492

qmp_log locks qmpcontrol configure_network when nothing to print

Added by Roger Pueyo Centelles about 1 month ago. Updated about 1 month ago.

Status:
Tancat
Priority:
Normal
Assignee:
-
Category:
qMp
Target version:
Start date:
09/20/2021
Due date:
% Done:

100%


Description

E.g.: when no wireless interfaces.

Associated revisions

Revision 398aef2a (diff)
Added by Roger Pueyo Centelles about 1 month ago

[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 <>

Revision 16b6cde3 (diff)
Added by Roger Pueyo Centelles about 1 month ago

[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 <>

History

#1 Updated by Roger Pueyo Centelles about 1 month ago

  • Status changed from Nou to Tancat
  • % Done changed from 0 to 100

Aplicat en el conjunt de canvis 398aef2ab49ecc927cefd9a35c8efb9a4dc332aa.

Also available in: Atom PDF