diff --git a/confluent_server/confluent/selfservice.py b/confluent_server/confluent/selfservice.py index 682ff084..365e88dfe 100644 --- a/confluent_server/confluent/selfservice.py +++ b/confluent_server/confluent/selfservice.py @@ -363,7 +363,7 @@ async def handle_request(req, make_response, mimetype): try: tdcout, tdcerr = await util.check_output('timedatectl') tdc = tdcout.split(b'\n') - except subprocess.CalledProcessError: + except (subprocess.CalledProcessError, FileNotFoundError): tdc = [] currtzvintage = time.time() ncfg['timezone'] = currtz