X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Flogs-clear-credentials.sh;h=a4a8cdda4497edcf42dcf34d66e79b9e8e24a45f;hb=9268e4ab2c79a5605c59865ac5dd96231de75518;hp=15003e1ddda596bfc4f1c6c279e4f5adc937b917;hpb=56864adf9a6062190e4b9bedc2944cb6a95f8014;p=releng%2Fglobal-jjb.git diff --git a/shell/logs-clear-credentials.sh b/shell/logs-clear-credentials.sh index 15003e1d..a4a8cdda 100644 --- a/shell/logs-clear-credentials.sh +++ b/shell/logs-clear-credentials.sh @@ -1,5 +1,5 @@ #!/bin/bash -# @License EPL-1.0 +# SPDX-License-Identifier: EPL-1.0 ############################################################################## # Copyright (c) 2017 The Linux Foundation and others. # @@ -10,5 +10,5 @@ ############################################################################## # Clear log credential files -rm "$SETTINGS_FILE" -rm ~/.netrc +rm -f "$SETTINGS_FILE" +rm -f ~/.netrc