aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2015-06-26 12:41:26 +1200
committerTom Ryder <tom@sanctum.geek.nz>2015-06-26 12:41:26 +1200
commit1d066875e97cbad5ae641c8051f8b21385a8d5ad (patch)
treeaeff58abb630c9dda3fa8876b468346783403a3a /bin
parentExplicitly terminate edda(1) options (diff)
downloaddotfiles-1d066875e97cbad5ae641c8051f8b21385a8d5ad.tar.gz
dotfiles-1d066875e97cbad5ae641c8051f8b21385a8d5ad.zip
Terminate rm(1) options in edda(1) EXIT trap
Diffstat (limited to 'bin')
-rwxr-xr-xbin/edda2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/edda b/bin/edda
index f44f18c5..bc17993d 100755
--- a/bin/edda
+++ b/bin/edda
@@ -43,7 +43,7 @@ done
# Duplicate stdin into a file, which we'll remove on exit
stdin=$(mktemp) || exit
cleanup() {
- rm -f "$stdin"
+ rm -f -- "$stdin"
}
trap cleanup EXIT
cat > "$stdin"