diff options
-rwxr-xr-x | helpers/lh_clean | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_clean b/helpers/lh_clean index a6dd3f8..aafef4f 100755 --- a/helpers/lh_clean +++ b/helpers/lh_clean @@ -29,7 +29,7 @@ Read_conffile config/all config/common config/bootstrap config/chroot config/bin Set_defaults # Avoid cases were users accidentally nuke their config/binary -if [ ! -d config ] || [ "$(basename ${PWD})" = "config" ] +if [ ! -d config ] && [ "$(basename ${PWD})" = "config" ] then Echo_error "%s is not a good Debian Live working directory to clean." "${PWD}" exit 1 |