This commit is contained in:
Vinícius Moreira
2019-12-09 19:30:27 -03:00
parent 6bd27b565e
commit b9ed2cf4c1
16 changed files with 215 additions and 12 deletions

View File

@@ -13,7 +13,7 @@ SNAPD_RUNNING_STATUS = {'listening', 'running'}
def is_installed():
res = run_cmd('which snap')
res = run_cmd('which snap', print_error=False)
return res and not res.strip().startswith('which ')