Created
July 24, 2016 20:03
-
-
Save gdestuynder/a0ff2db442df11b9349e7e22dddc8d5c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/simplecrypt.sh b/simplecrypt.sh | |
index ff3b177..af56d68 100755 | |
--- a/simplecrypt.sh | |
+++ b/simplecrypt.sh | |
@@ -72,7 +72,7 @@ function main() | |
[[ -z "${flatulist}" ]] && { | |
fatal "Empty fingerprint list, nobody to encrypt to then, that's a problem." | |
} | |
- sf=$(mktemp) || { | |
+ sf=$(mktemp -t crypt.XXX) || { | |
fatal "Couldn't create temp file" | |
} | |
chmod 0600 ${sf} || { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment