gluster / glusterfs

Gluster Filesystem : Build your distributed storage in minutes
https://www.gluster.org
GNU General Public License v2.0
4.53k stars 1.07k forks source link

mount.glusterfs: Remove `\` from grep command (#4275) #4278

Closed anoopcs9 closed 5 months ago

anoopcs9 commented 5 months ago

GNU grep v3.8 release notes has the following mention about the usage of backslahes:

"Regular expressions with stray backslashes now cause warnings, as their unspecified behavior can lead to unexpected results."

As a result we see the warning "grep: warning: stray \ before -" during script execution. Therefore remove the extra \ from grep command.

Please note that this exact change was committed into mount_glusterfs.in via 0ca99f0409ebc9f5082fbae20c1b8902296ac357 but not here.

(cherry picked from commit 42e3cb18f5d1f9692615e55c82e7a7c83f0f3a04)

anoopcs9 commented 5 months ago

/run regression