diff --git a/usr.sbin/sade/config.c b/usr.sbin/sade/config.c index 0bbbfb72ee2c..1ced0848aa7c 100644 --- a/usr.sbin/sade/config.c +++ b/usr.sbin/sade/config.c @@ -680,7 +680,7 @@ configXDesktop(dialogMenuItem *self) else if (!strcmp(desk, "fvwm2")) { ret = package_add("fvwm"); if (DITEM_STATUS(ret) != DITEM_FAILURE && gotit("fvwm")) - write_root_xprofile("xterm &\nexec fvwm\n"); + write_root_xprofile("exec fvwm\n"); } if (DITEM_STATUS(ret) == DITEM_FAILURE) msgConfirm("An error occurred while adding the package(s) required\n" diff --git a/usr.sbin/sysinstall/config.c b/usr.sbin/sysinstall/config.c index 0bbbfb72ee2c..1ced0848aa7c 100644 --- a/usr.sbin/sysinstall/config.c +++ b/usr.sbin/sysinstall/config.c @@ -680,7 +680,7 @@ configXDesktop(dialogMenuItem *self) else if (!strcmp(desk, "fvwm2")) { ret = package_add("fvwm"); if (DITEM_STATUS(ret) != DITEM_FAILURE && gotit("fvwm")) - write_root_xprofile("xterm &\nexec fvwm\n"); + write_root_xprofile("exec fvwm\n"); } if (DITEM_STATUS(ret) == DITEM_FAILURE) msgConfirm("An error occurred while adding the package(s) required\n"