aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2015-09-24 15:42:32 -0500
committerTristan Sloughter <[email protected]>2015-09-24 15:42:32 -0500
commit30eb9ddded8a52ddc16758d1ee0770c7c7394f7e (patch)
tree6900e704a06b99ccd0073b5d222726493feee8fc
parent10de369ae801056bbf9d9fcba85a1f2fa6f39d3f (diff)
parent1e02a29ca9ac36002eb56c67e86f060b035cbd0e (diff)
downloadrelx-30eb9ddded8a52ddc16758d1ee0770c7c7394f7e.tar.gz
relx-30eb9ddded8a52ddc16758d1ee0770c7c7394f7e.tar.bz2
relx-30eb9ddded8a52ddc16758d1ee0770c7c7394f7e.zip
Merge pull request #399 from priestjim/feature/startup-script-fixes
Regression fix on startup script improvements
-rwxr-xr-xpriv/templates/bin2
-rwxr-xr-xpriv/templates/extended_bin2
2 files changed, 2 insertions, 2 deletions
diff --git a/priv/templates/bin b/priv/templates/bin
index 3067259..0b439c3 100755
--- a/priv/templates/bin
+++ b/priv/templates/bin
@@ -2,7 +2,7 @@
set -e
-SCRIPT=$(readlink $0)
+SCRIPT=$(readlink $0 || true)
if [ -z $SCRIPT ]; then
SCRIPT=$0
fi;
diff --git a/priv/templates/extended_bin b/priv/templates/extended_bin
index 1d4da54..f7955cb 100755
--- a/priv/templates/extended_bin
+++ b/priv/templates/extended_bin
@@ -2,7 +2,7 @@
set -e
-SCRIPT=$(readlink $0)
+SCRIPT=$(readlink $0 || true)
if [ -z $SCRIPT ]; then
SCRIPT=$0
fi;