1
0
mirror of https://github.com/gluster/glusterfs.git synced 2026-02-06 18:48:16 +01:00
Files
glusterfs/geo-replication
black-dragon74 064c3b7a26 [gsyncd] Use execv when explicit path is present
There is no use of calling `execvp` when the filename has a "/"
character in it. Also, as per convention first member of argv should be
the same as the filename.

Gotcha: You can also pass some random value to argv[0], in my tests the
operation was always successful as long as argv[0] was not NULL.

Change-Id: I9eeb9481d434237e9c19a0069dbe24af8df20c64
Signed-off-by: black-dragon74 <niryadav@redhat.com>
2022-02-15 13:28:37 +01:00
..
2020-12-30 15:55:22 +05:30