diff options
author | sinanmohd <sinan@firemail.cc> | 2023-07-11 14:21:48 +0530 |
---|---|---|
committer | sinanmohd <sinan@firemail.cc> | 2023-07-11 15:43:56 +0530 |
commit | 58058d172a9c7ba1d248bb2d3df73acc1b046ec4 (patch) | |
tree | 5715de393691cdf82df6a4a4fec349e19ffe3e33 /.local/bin/ttyasrt | |
parent | b16fdf596ed5c6f3869d30576b9afea226089256 (diff) |
ttyasrt: exec into programs instaed of forking
Diffstat (limited to '.local/bin/ttyasrt')
-rwxr-xr-x | .local/bin/ttyasrt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.local/bin/ttyasrt b/.local/bin/ttyasrt index 21b5d42..3b73174 100755 --- a/.local/bin/ttyasrt +++ b/.local/bin/ttyasrt @@ -12,7 +12,7 @@ die() die "\$TERMIANL must be set" if tty --silent; then - "$@" + exec "$@" else - "$TERMINAL" -- "$@" + exec "$TERMINAL" -- "$@" fi |