Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- su () {
- checksu=0
- for flags in $*; do
- if [[ $flags == "-" ]]; then
- checksu=1
- fi
- done
- if [[ $checksu == 0 ]]; then
- echo "Use 'su -', Luke"
- /usr/bin/su - $*
- else
- /usr/bin/su $*
- fi
- }
Advertisement
Add Comment
Please, Sign In to add comment