Explorar el Código

Print the file name for each match

Serghey Rodin hace 6 años
padre
commit
82b635f8da
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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:|' |")