aboutsummaryrefslogtreecommitdiffstats
path: root/priv/templates
diff options
context:
space:
mode:
Diffstat (limited to 'priv/templates')
-rw-r--r--priv/templates/extended_bin.dtl6
1 files changed, 3 insertions, 3 deletions
diff --git a/priv/templates/extended_bin.dtl b/priv/templates/extended_bin.dtl
index a773275..70b4ee2 100644
--- a/priv/templates/extended_bin.dtl
+++ b/priv/templates/extended_bin.dtl
@@ -28,12 +28,12 @@ find_erts_dir() {
# Get node pid
relx_get_pid() {
- if pid="$(relx_nodetool rpcterms os getpid)"
+ if output="$(relx_nodetool rpcterms os getpid)"
then
- echo "$pid" | sed -e 's/"//g'
+ echo "$output" | sed -e 's/"//g'
return 0
else
- echo '-1'
+ echo "$output"
return 1
fi
}