Make sure we don't bail out on removing the token 57/8957/1
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>
Tue, 28 Mar 2017 16:02:34 +0000 (18:02 +0200)
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>
Tue, 28 Mar 2017 16:02:34 +0000 (18:02 +0200)
Change-Id: Idf4fa26834f61ce94ddf2a1d86d206c497d44e15
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
jjb/common/include-agl-run-test-short.sh

index cfe2515..162df14 100644 (file)
@@ -23,7 +23,7 @@ $AGLLAVATOKEN
 EOF
 
 lava-tool auth-add --token-file ~/.local/token https://agl-jenkins-user@porter.automotivelinux.org
-rm ~/.local/token
+rm -rf ~/.local/token || true
 
 echo "## $TESTJOBFILE ##"