aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpriv/templates/extended_bin.dtl2
1 files changed, 1 insertions, 1 deletions
diff --git a/priv/templates/extended_bin.dtl b/priv/templates/extended_bin.dtl
index 4284772..452669c 100755
--- a/priv/templates/extended_bin.dtl
+++ b/priv/templates/extended_bin.dtl
@@ -60,7 +60,7 @@ relx_rem_sh() {
# Generate a random id
relx_gen_id() {
- od -X /dev/urandom | head -n1 | cut -d ' ' -f2
+ od -X /dev/urandom | head -n1 | awk '{print $2}'
}
# Control a node