| Server IP : 162.241.219.206 / Your IP : 216.73.216.195 Web Server : Apache System : Linux box5669.bluehost.com 5.14.0-687.15.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jun 11 08:51:45 EDT 2026 x86_64 User : signavd5 ( 2863) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/libexec/kcare/python/kcarectl/ |
Upload File : |
# Copyright (c) Cloud Linux Software, Inc
# Licensed under CLOUD LINUX LICENSE AGREEMENT
# http://cloudlinux.com/docs/LICENCE.TXT
import os
import sys
from . import errors, log_utils, main, send_exc
from .py23 import URLError
# The scanner interface should skip us
os.environ['KCARE_SCANNER_INTERFACE_DO_NOTHING'] = '1'
if __name__ == '__main__':
try:
sys.exit(main())
except URLError as err:
log_utils.logerror('{0}: {1}'.format(err, getattr(err, 'url', 'unknown')))
except errors.KcareError as err:
log_utils.logerror(str(err))
sys.exit(1)
except Exception as err:
if isinstance(err, errors.SafeExceptionWrapper):
log_utils.logexc(err.inner)
else:
log_utils.logexc(err)
send_exc()
sys.exit(1)