summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-utils.c
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2010-08-21 01:54:30 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-08-21 05:17:37 -0700
commita437f594608cd307ca2c25871b79966de54cc93f (patch)
treea1ef88de0020f9e01068f6d4c4a22a1387ea1a05 /xlators/mgmt/glusterd/src/glusterd-utils.c
parentad0e7a86c256b6e49daddafd954809b6040804b2 (diff)
gf_system: fork/exec instead of system
* most of the glusterd 'system()' are replaced with 'gf_system()' Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 1292 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1292
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-utils.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.c b/xlators/mgmt/glusterd/src/glusterd-utils.c
index 424c35f2f71..35dfa3dfba3 100644
--- a/xlators/mgmt/glusterd/src/glusterd-utils.c
+++ b/xlators/mgmt/glusterd/src/glusterd-utils.c
@@ -771,7 +771,7 @@ glusterd_volume_start_glusterfs (glusterd_volinfo_t *volinfo,
"-s localhost --volfile-id %s -p %s --brick-name %s "
"--brick-port %d", GFS_PREFIX,
port, volfile, pidfile, brickinfo->path, port);
- ret = system (cmd_str);
+ ret = gf_system (cmd_str);
if (ret == 0) {
//pmap_registry_bind (THIS, port, brickinfo->path);