aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHakan Nilsson <[email protected]>2016-03-22 17:22:14 +0100
committerHakan Nilsson <[email protected]>2016-03-22 17:22:14 +0100
commitddaf22d328fb0a40c992419a506c26c18c55f44c (patch)
tree03d9fba17c290460a7a7ff76e26e57712badfb1d
parent7ec3d166c07c8cd1e5a182c92a8c73a0dd4727d8 (diff)
downloadrelx-ddaf22d328fb0a40c992419a506c26c18c55f44c.tar.gz
relx-ddaf22d328fb0a40c992419a506c26c18c55f44c.tar.bz2
relx-ddaf22d328fb0a40c992419a506c26c18c55f44c.zip
Use standard flags to od
The -X flag is not supported on BusyBox for example. Using -t x should give the same behavior as -X.
-rwxr-xr-xpriv/templates/extended_bin2
1 files changed, 1 insertions, 1 deletions
diff --git a/priv/templates/extended_bin b/priv/templates/extended_bin
index 3c406aa..3c71c84 100755
--- a/priv/templates/extended_bin
+++ b/priv/templates/extended_bin
@@ -64,7 +64,7 @@ relx_rem_sh() {
# Generate a random id
relx_gen_id() {
- od -X -N 4 /dev/urandom | head -n1 | awk '{print $2}'
+ od -t x -N 4 /dev/urandom | head -n1 | awk '{print $2}'
}
# Control a node