git://git.iain.cx/iain
/
profile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03299d5
)
Removed pointless line left over from earlier versions.
author
Iain Patterson
<me@iain.cx>
Wed, 21 Apr 2010 13:27:22 +0000
(14:27 +0100)
committer
Iain Patterson
<me@iain.cx>
Fri, 23 Apr 2010 13:59:32 +0000
(14:59 +0100)
opt/bin/became
patch
|
blob
|
history
diff --git
a/opt/bin/became
b/opt/bin/became
index
940e26e
..
7f7abf1
100755
(executable)
--- a/
opt/bin/became
+++ b/
opt/bin/became
@@
-3,6
+3,4
@@
file="${TMPDIR:-/tmp}/$SUDO_USER.became.$USER.$RANDOM.$$"
( builtin umask 077; echo "unset ENV POSIXLY_CORRECT; set +o posix" > "$file"; cat >> "$file"; echo "/bin/rm -f '$file'" >> "$file" )
exec </dev/tty env ENV="$file" POSIXLY_CORRECT=1 /bin/bash
-# Fall back to the shell.
-exec </dev/tty /bin/bash
exit 111