diff --git a/usr.sbin/sade/config.c b/usr.sbin/sade/config.c index 1ced0848aa7c..5cd5e6b44877 100644 --- a/usr.sbin/sade/config.c +++ b/usr.sbin/sade/config.c @@ -669,7 +669,7 @@ configXDesktop(dialogMenuItem *self) else if (!strcmp(desk, "afterstep")) { ret = package_add("afterstep"); if (DITEM_STATUS(ret) != DITEM_FAILURE && gotit("afterstep")) - write_root_xprofile("xterm &\nexec afterstep\n"); + write_root_xprofile("exec afterstep\n"); } else if (!strcmp(desk, "windowmaker")) { ret = package_add("windowmaker"); diff --git a/usr.sbin/sysinstall/config.c b/usr.sbin/sysinstall/config.c index 1ced0848aa7c..5cd5e6b44877 100644 --- a/usr.sbin/sysinstall/config.c +++ b/usr.sbin/sysinstall/config.c @@ -669,7 +669,7 @@ configXDesktop(dialogMenuItem *self) else if (!strcmp(desk, "afterstep")) { ret = package_add("afterstep"); if (DITEM_STATUS(ret) != DITEM_FAILURE && gotit("afterstep")) - write_root_xprofile("xterm &\nexec afterstep\n"); + write_root_xprofile("exec afterstep\n"); } else if (!strcmp(desk, "windowmaker")) { ret = package_add("windowmaker");