diff options
| author | EuAndreh <eu@euandre.org> | 2023-02-23 06:51:54 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2023-02-23 07:17:52 -0300 |
| commit | 562bda6e8bb2135792fe96795995e8f8c056dae3 (patch) | |
| tree | 79a665c32c54b14e7d5e52d588f2ad57fe96d23d /bin/with-email | |
| parent | bin/cl: Use uuid(1), tmpname(1) and mkstemp(1) from $PATH (diff) | |
| download | dotfiles-562bda6e8bb2135792fe96795995e8f8c056dae3.tar.gz dotfiles-562bda6e8bb2135792fe96795995e8f8c056dae3.tar.xz | |
bin/: Cleanup temp file before exit
Diffstat (limited to '')
| -rwxr-xr-x | bin/with-email | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/with-email b/bin/with-email index bd3ef96a..02789e96 100755 --- a/bin/with-email +++ b/bin/with-email @@ -76,6 +76,7 @@ now() { } OUT="$(mkstemp)" +trap 'rm -f "$OUT"' EXIT { printf 'Running command: %s\n' "$*" printf 'Starting at: %s\n' "$(now)" |
