gentoo-full-overlay/x11-misc/sux/files/sux-1.0-dash.patch

12 lines
279 B
Diff

--- a/sux
+++ b/sux
@@ -302,7 +302,8 @@
then
if [ "$sux_got_minus" = "1" ]
then
- sux_cmd="sh -c \"exec -l \$SHELL\""
+ # exec -l does not work in dash (Gentoo bug #473200)
+ sux_cmd="sh -c \"exec \$SHELL\""
else
sux_cmd="\$SHELL"
fi