# HG changeset patch # User Alain Leufroy # Date 1616193983 -3600 # Fri Mar 19 23:46:23 2021 +0100 # Node ID 718318dc13885fc000f60bf8fe1c374c601ad866 # Parent a52a839f52559176145a2f4c847a9cdcdd89cb0e show: small fixes diff --git a/overlayctl b/overlayctl --- a/overlayctl +++ b/overlayctl @@ -755,9 +755,6 @@ 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 @@ {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}\ '''))