Commit 33dccfbd by Oliver Pinter

remove unneeded exit and added debug log

parent 85702c7d
......@@ -83,8 +83,8 @@ class SerialLineReceiver(SerialLineReceiverBase):
"uptime": {"seconds": uptime.uptime()},
"disk": disk_usage,
"user": {"count": len(psutil.get_users())}}
self.send_response(response='status',
args=args)
self.send_response(response='status', args=args)
logger.debug("send_status finished")
def _check_args(self, func, args):
if not isinstance(args, dict):
......@@ -122,6 +122,7 @@ class SerialLineReceiver(SerialLineReceiverBase):
self._pretty_fun(func))
self._check_args(func, args)
logger.debug("_get_command finished")
return func
@staticmethod
......
......@@ -11,8 +11,6 @@ then
pw group mod wheel -m cloud
fi
exit
if [ ! -d /usr/ports ]
then
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