diff --git a/EESSI-remove-software.sh b/EESSI-remove-software.sh index 7624905523..c35c7bc469 100755 --- a/EESSI-remove-software.sh +++ b/EESSI-remove-software.sh @@ -137,7 +137,6 @@ if [ $EUID -eq 0 ]; then # these subdirs don't (and shouldn't) exist, but we need to do the ls anyway as a workaround, # so redirect to /dev/null and ignore the exit code ls ${app_subdirs} >& /dev/null || true - ls $(dirname ${app_module}) >& /dev/null || true done else fatal_error "Easystack file ${easystack_file} not found!"