Commit 33dccfbd by Oliver Pinter

remove unneeded exit and added debug log

parent 85702c7d
...@@ -83,8 +83,8 @@ class SerialLineReceiver(SerialLineReceiverBase): ...@@ -83,8 +83,8 @@ class SerialLineReceiver(SerialLineReceiverBase):
"uptime": {"seconds": uptime.uptime()}, "uptime": {"seconds": uptime.uptime()},
"disk": disk_usage, "disk": disk_usage,
"user": {"count": len(psutil.get_users())}} "user": {"count": len(psutil.get_users())}}
self.send_response(response='status', self.send_response(response='status', args=args)
args=args) logger.debug("send_status finished")
def _check_args(self, func, args): def _check_args(self, func, args):
if not isinstance(args, dict): if not isinstance(args, dict):
...@@ -122,6 +122,7 @@ class SerialLineReceiver(SerialLineReceiverBase): ...@@ -122,6 +122,7 @@ class SerialLineReceiver(SerialLineReceiverBase):
self._pretty_fun(func)) self._pretty_fun(func))
self._check_args(func, args) self._check_args(func, args)
logger.debug("_get_command finished")
return func return func
@staticmethod @staticmethod
......
...@@ -11,8 +11,6 @@ then ...@@ -11,8 +11,6 @@ then
pw group mod wheel -m cloud pw group mod wheel -m cloud
fi fi
exit
if [ ! -d /usr/ports ] if [ ! -d /usr/ports ]
then then
git clone https://github.com/HardenedBSD/freebsd-ports.git /usr/ports git clone https://github.com/HardenedBSD/freebsd-ports.git /usr/ports
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment