[FIX] hw_drivers: Kill MPD server on start
The MPD server was not correctly killed when the IoTBox started without six payment terminal configured. A warning was displayed. closes odoo/odoo#36415 Signed-off-by: Quentin Lejeune (qle) <qle@odoo.com>
This commit is contained in:
@@ -475,7 +475,7 @@ if terminal_id:
|
||||
mpdm.start()
|
||||
else:
|
||||
try:
|
||||
subprocess.check_call(["pkill", "9", "eftdvs"]) # Check if MPD server is running
|
||||
subprocess.check_call(["pkill", "-9", "eftdvs"]) # Check if MPD server is running
|
||||
except subprocess.CalledProcessError:
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user