commit ffdca8f730a459606b30e754cb20f224feed18ff
parent 10e46bde5acfcabee6a3a38fb8245ce322620d67
Author: mmnmnnmnmm <mnnnm@disroot.org>
Date: Wed, 17 Aug 2022 17:57:04 +0100
9l: without arguments, exit instead of failing to link nothing
Found in Arch Linux but never reported upstream:
https://bugs.archlinux.org/task/55640
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/bin/9l b/bin/9l
@@ -1,5 +1,7 @@
#!/bin/sh
+[ "$1" = "" ] && exit 1
+
test -f $PLAN9/config && . $PLAN9/config
libsl=""
frameworks=""