> Fix the script. The kernel expects a specific format
How about letting the kernel return ENOEXEC instead of ENOENT? It would
give the luser just the little extra hint about converting their files to
Unix format.
$ ls
testscript
$ head -1 testscript
#!/bin/sh
$ ./testscript
bash: ./testscript: No such file or directory
versus
$ ./testscript
bash: ./testscript: Exec format error
I haven't got a clue what Posix requires though.
-- Erik Hensema (erik@hensema.xs4all.nl) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/