summaryrefslogtreecommitdiffstats
path: root/admin/Sources/Clients/ogagent/src/OGAgentUser.py
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2017-10-18 17:18:09 +0000
committerramon <ramongomez@us.es>2017-10-18 17:18:09 +0000
commitea40e6b08b2d26e5ed0fb916d07737840c3a6e57 (patch)
tree0dedd5ef4c2a3955bcbe3d70aa939eda60e12a6c /admin/Sources/Clients/ogagent/src/OGAgentUser.py
parentdd14ed20d9ab68c3e8f57dd3d940ac1d2096016b (diff)
#718: Corregir errata en servicio de usuario de OGAgent; usar flag {{{EWX_SHUTDOWN}}} en vez de {{{EWX_POWEROFF}}} al apagar Windows para compatibilidad con Wake-on-Lan.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5470 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/Sources/Clients/ogagent/src/OGAgentUser.py')
-rw-r--r--admin/Sources/Clients/ogagent/src/OGAgentUser.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/admin/Sources/Clients/ogagent/src/OGAgentUser.py b/admin/Sources/Clients/ogagent/src/OGAgentUser.py
index 363486b3..4ec09cee 100644
--- a/admin/Sources/Clients/ogagent/src/OGAgentUser.py
+++ b/admin/Sources/Clients/ogagent/src/OGAgentUser.py
@@ -294,7 +294,8 @@ class OGASystemTray(QtGui.QSystemTrayIcon):
self.ipc.stop()
except Exception:
# May we have lost connection with server, simply log and exit in that case
- logger.exception("Got an exception processing quit")
+ logger.exception()
+ logger.exception("Got an exception, processing quit")
try:
# operations.logoff() # Uncomment this after testing to logoff user