Skip to content
Snippets Groups Projects
Commit 9546ba2f authored by Thibault Allançon's avatar Thibault Allançon
Browse files

cli: raise error when missing fusermount3 dependency

Fixes T2838.
parent 7154e451
No related branches found
No related tags found
No related merge requests found
......@@ -53,11 +53,16 @@ def fuse(ctx, config_file):
"""Software Heritage virtual file system"""
import logging
from shutil import which
import yaml
from swh.core import config
if which("fusermount3") is None:
logging.error("Missing dependency: 'fusermount3'")
ctx.exit(1)
if not config_file:
config_file = DEFAULT_CONFIG_PATH
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment