From 67486146c499439acdbb2a3638b15e35b6e8e71e Mon Sep 17 00:00:00 2001 From: Pablo Carranza Velez Date: Tue, 23 Oct 2018 08:17:35 -0700 Subject: [PATCH] entry.sh: Use symbolic link to link to legacy lock path The lack of `-s` was a typo. Change-type: patch Signed-off-by: Pablo Carranza Velez --- entry.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entry.sh b/entry.sh index 4c6cb22c..bea077a1 100755 --- a/entry.sh +++ b/entry.sh @@ -12,7 +12,7 @@ rm -f /var/run/avahi-daemon/pid # already be using to take an update lock, so we symlink it to the new # location so that the supervisor can see it [ -d /mnt/root/tmp/resin-supervisor ] && - ( [ -d /mnt/root/tmp/balena-supervisor ] || ln ./resin-supervisor /mnt/root/tmp/balena-supervisor ) + ( [ -d /mnt/root/tmp/balena-supervisor ] || ln -s ./resin-supervisor /mnt/root/tmp/balena-supervisor ) # Otherwise, if the lockfiles directory doesn't exist [ -d /mnt/root/tmp/balena-supervisor ] ||