projects
/
postgres-xl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b0f381
)
Remove an unintentional "set -x" command slipped in the previous commit
author
Pavan Deolasee
<
[email protected]
>
Tue, 14 Jun 2016 08:38:58 +0000
(14:08 +0530)
committer
Pavan Deolasee
<
[email protected]
>
Tue, 14 Jun 2016 08:38:58 +0000
(14:08 +0530)
contrib/pgxc_ctl/gtm_cmd.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/pgxc_ctl/gtm_cmd.c
b/contrib/pgxc_ctl/gtm_cmd.c
index 8371e101c0522ca0b8d89f273b6a3170807dc2e6..a1617d8538513ca76c04c739a30ae5cc721b3053 100644
(file)
--- a/
contrib/pgxc_ctl/gtm_cmd.c
+++ b/
contrib/pgxc_ctl/gtm_cmd.c
@@
-58,7
+58,7
@@
cmd_t *prepare_initGtmMaster(bool stop)
remoteDirCheck[0] = '\0';
if (!forceInit)
{
- sprintf(remoteDirCheck, "
set -x;
if [ '$(ls -A %s 2> /dev/null)' ]; then echo 'ERROR: "
+ sprintf(remoteDirCheck, "if [ '$(ls -A %s 2> /dev/null)' ]; then echo 'ERROR: "
"target directory (%s) exists and not empty. "
"Skip GTM initilialization'; exit; fi;",
sval(VAR_gtmMasterDir),