Browse Source

Agent: do not terminate process if user thread fails

master
Pekka Helenius 4 years ago
parent
commit
508a7951d3
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      tools/pamusb-agent

+ 2
- 2
tools/pamusb-agent View File

@ -209,8 +209,8 @@ def userDeviceThread(user):
if device.get('id') == deviceName: if device.get('id') == deviceName:
break break
logger.error('Device %s not found in configuration file' % deviceName)
sys.exit(1)
logger.error('Device %s not found in configuration file.' % deviceName)
return 1
serial = device.find('serial').text.strip() serial = device.find('serial').text.strip()


Loading…
Cancel
Save