aboutsummaryrefslogtreecommitdiffstats
path: root/examples/startup-files/apple/logout
blob: 812731c63d2648c9be2fb85f747b63c939de2f1f (plain)
1
2
3
4
5
6
7
8
9
10
##
# Destroy credentials
##

if [ -z "${TERM_PROGRAM}" ]; then
  # Don't run these commands if the shell is launched by Terminal,
  # even if it's a login shell.

  if klist -s; then kdestroy; fi
fi