When running 'startpar ls ls', startpar segfaults after forking to start the ls processes. This patch solve it, by making sure arg is only used when it is set.
--- a/startpar.c (revision 1898) +++ b/startpar.c (working copy) @@ -366,7 +366,7 @@ closeall(); - if (!strcmp(arg, "start")) + if (arg && !strcmp(arg, "start")) { int s, t, len; pid_t child; Happy hacking, -- Petter Reinholdtsen