sux-1.0-dash.patch 279 B

12345678910111213
  1. --- a/sux
  2. +++ b/sux
  3. @@ -302,7 +302,8 @@
  4. then
  5. if [ "$sux_got_minus" = "1" ]
  6. then
  7. - sux_cmd="sh -c \"exec -l \$SHELL\""
  8. + # exec -l does not work in dash (Gentoo bug #473200)
  9. + sux_cmd="sh -c \"exec \$SHELL\""
  10. else
  11. sux_cmd="\$SHELL"
  12. fi