From ffdca8f730a459606b30e754cb20f224feed18ff Mon Sep 17 00:00:00 2001 From: mmnmnnmnmm Date: Wed, 17 Aug 2022 17:57:04 +0100 Subject: [PATCH] 9l: without arguments, exit instead of failing to link nothing Found in Arch Linux but never reported upstream: https://bugs.archlinux.org/task/55640 --- bin/9l | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/9l b/bin/9l index d7c9e2dd..3b8cf680 100755 --- a/bin/9l +++ b/bin/9l @@ -1,5 +1,7 @@ #!/bin/sh +[ "$1" = "" ] && exit 1 + test -f $PLAN9/config && . $PLAN9/config libsl="" frameworks=""