9l: without arguments, exit instead of failing to link nothing

Found in Arch Linux but never reported upstream:
https://bugs.archlinux.org/task/55640
This commit is contained in:
mmnmnnmnmm 2022-08-17 17:57:04 +01:00 committed by Dan Cross
parent 10e46bde5a
commit ffdca8f730

2
bin/9l
View file

@ -1,5 +1,7 @@
#!/bin/sh #!/bin/sh
[ "$1" = "" ] && exit 1
test -f $PLAN9/config && . $PLAN9/config test -f $PLAN9/config && . $PLAN9/config
libsl="" libsl=""
frameworks="" frameworks=""