Print the file name for each match

This commit is contained in:
Serghey Rodin 2019-04-18 15:03:03 +03:00
parent 25706abfb3
commit 82b635f8da

View file

@ -73,7 +73,7 @@ csv_list() {
# Action #
#----------------------------------------------------------#
search_cmd=$(grep "SSL='yes'" $VESTA/data/users/*/web.conf |\
search_cmd=$(grep -H "SSL='yes'" $VESTA/data/users/*/web.conf |\
cut -f 1 -d ' ' |\
sed -e "s|$VESTA/data/users/|USER='|" -e "s|/web.conf:|' |")