diff --git a/src/base/messaging/anonymous_messenger.py b/src/base/messaging/anonymous_messenger.py index ac8cb30..e2012da 100644 --- a/src/base/messaging/anonymous_messenger.py +++ b/src/base/messaging/anonymous_messenger.py @@ -123,7 +123,7 @@ class AnonymousMessenger(ClientXMPP): self.logger.info('Rebooting...') #System.Process.kill_by_pid(int(System.Ahenk.get_pid_number())) #sys.exit(2) - #Util.shutdown(); + Util.shutdown(); except Exception as e: self.logger.error('Error Message: {0}.'.format(str(e))) diff --git a/src/base/util/util.py b/src/base/util/util.py index 1012015..a1cd53a 100644 --- a/src/base/util/util.py +++ b/src/base/util/util.py @@ -33,8 +33,8 @@ class Util: @staticmethod def shutdown(): - print("shutting down") - #Util.execute('reboot') + pass + Util.execute('reboot') @staticmethod def create_file(full_path):