718318dc1388 — Alain Leufroy 3 years ago
show: small fixes
1 files changed, 1 insertions(+), 4 deletions(-)

M overlayctl
M overlayctl +1 -4
@@ 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}\
     '''))