git://git.iain.cx/iain
/
profile.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fugitive plugin.
[profile.git]
/
opt
/
bin
/
become
diff --git
a/opt/bin/become
b/opt/bin/become
index
f39fc49
..
0825bd6
100755
(executable)
--- a/
opt/bin/become
+++ b/
opt/bin/become
@@
-51,7
+51,7
@@
if exec 3>"$file" && exec <"$file" && rm "$file"; then
if [ -n "$PRINCIPAL" ]; then
echo >&3 "PRINCIPAL='$PRINCIPAL'"
if [ $kerberos = 1 ]; then
if [ -n "$PRINCIPAL" ]; then
echo >&3 "PRINCIPAL='$PRINCIPAL'"
if [ $kerberos = 1 ]; then
- ccname=$(klist 2>/dev/null | sed -n 's/^Ticket cache:
FILE
://p')
+ ccname=$(klist 2>/dev/null | sed -n 's/^Ticket cache:
[DF]I[LR][E:]
://p')
if [ -f "$ccname" ]; then
echo >&3 "export KRB5CCNAME='$KRB5CCNAME'"
openssl=$(find_working openssl)
if [ -f "$ccname" ]; then
echo >&3 "export KRB5CCNAME='$KRB5CCNAME'"
openssl=$(find_working openssl)