X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=opt%2Fbin%2Fbecame;h=7f7abf192acdc01efba7f05988878c6c917375d9;hb=2f4249cac9aa299fd3e2c36b7b6e17c19ff92854;hp=694810d182f61f7537aaea088291a175cab035eb;hpb=815c4966940595d1c924b0e01e82fe99fb1c4a29;p=profile.git diff --git a/opt/bin/became b/opt/bin/became index 694810d..7f7abf1 100755 --- a/opt/bin/became +++ b/opt/bin/became @@ -1,8 +1,6 @@ #!/bin/bash file="${TMPDIR:-/tmp}/$SUDO_USER.became.$USER.$RANDOM.$$" -( umask 077; cat > "$file"; echo "/bin/rm -f '$file'" >> "$file" ) -exec "$file"; cat >> "$file"; echo "/bin/rm -f '$file'" >> "$file" ) +exec