mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-24 23:21:17 +02:00
run_remote_tests: fix bug where new symlink got created instead of update
The one symlink should be update instead of new links being created. BUG=12233 TEST=Ran run_remote_test.sh many time and verified that the link is updated. Change-Id: I63f325e03439e5c922e9fe2300444193146182f9 Review URL: http://codereview.chromium.org/6576051
This commit is contained in:
parent
0a649b57d9
commit
7b86ec098e
@ -77,7 +77,7 @@ function cleanup() {
|
||||
[[ ${RAN_ANY_TESTS} -eq ${FLAGS_FALSE} ]]; then
|
||||
rm -rf "${TMP}"
|
||||
else
|
||||
ln -sf "${TMP}" /tmp/run_remote_tests.latest
|
||||
ln -nsf "${TMP}" /tmp/run_remote_tests.latest
|
||||
echo ">>> Details stored under ${TMP}"
|
||||
fi
|
||||
stop_ssh_agent
|
||||
|
Loading…
x
Reference in New Issue
Block a user