@@ 755,9 755,6 @@ def lister(unit_name, ordered_deps, reve
def shower(name):
layer = build_layer(name)
- if not layer.mountdir.exists():
- logger.error('Not found.')
- return
if not layer.is_managed():
logger.warning('Not managed.')
return
@@ 780,7 777,7 @@ def shower(name):
{Style.BRIGHT}Automount unit{Style.RESET_ALL}: {layer.automountunit.path}
{Style.BRIGHT}Mount unit{Style.RESET_ALL}: {layer.mountunit.path}
{Style.BRIGHT}Mount{Style.RESET_ALL}: {command}
- {Style.BRIGHT}Unmount{Style.RESET_ALL}: {layer.mountdir}\
+ {Style.BRIGHT}Unmount{Style.RESET_ALL}: unmount {layer.mountdir}\
'''))