diff options
-rwxr-xr-x | tests/openpgp/version.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/openpgp/version.test b/tests/openpgp/version.test index cb3ffa87f..7b9fa4b0b 100755 --- a/tests/openpgp/version.test +++ b/tests/openpgp/version.test @@ -31,7 +31,7 @@ if [ -d private-keys-v1.d ]; then rmdir private-keys-v1.d fi for i in pubring.gpg pubring.gpg~ trustdb.gpg trustdb.gpg~ ; do - [ -d "$i" ] && rm "$i" + [ -f "$i" ] && rm "$i" done # Now start the agent right away, so that there is only one place |