aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarstrom <john@ankarstrom.se>2021-07-02 18:25:40 +0200
committerJohn Ankarstrom <john@ankarstrom.se>2021-07-02 18:36:41 +0200
commit8fe8976be104c840e760cd02c6558ead9ae4de8c (patch)
tree5b5b5d93baf34f7d87949e031006daefa428c946
parente48fa664f95ca7d34c824870528cfa3fc8687394 (diff)
downloadxutil-8fe8976be104c840e760cd02c6558ead9ae4de8c.tar.gz
Change formatting
-rwxr-xr-xwith-shell1
-rwxr-xr-xwith-shell-on-error1
2 files changed, 0 insertions, 2 deletions
diff --git a/with-shell b/with-shell
index 6819aa6..364d2ac 100755
--- a/with-shell
+++ b/with-shell
@@ -1,4 +1,3 @@
#!/bin/sh
-
"$@"
exec "${SHELL:-sh}"
diff --git a/with-shell-on-error b/with-shell-on-error
index 40f9980..d29a1d6 100755
--- a/with-shell-on-error
+++ b/with-shell-on-error
@@ -1,3 +1,2 @@
#!/bin/sh
-
"$@" || exec "${SHELL:-sh}"