Sfoglia il codice sorgente

Print the file name for each match

Serghey Rodin 6 anni fa
parent
commit
82b635f8da
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      bin/v-search-ssl-certificates

+ 1 - 1
bin/v-search-ssl-certificates

@@ -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:|' |")