From fdc0dfeaf9baf5bc334f3dab905bb7dc859eb4b4 Mon Sep 17 00:00:00 2001
From: Salt <rehashedsalt@cock.li>
Date: Fri, 27 Sep 2019 00:00:24 -0500
Subject: [PATCH] fork: Fix logging, actually error out

---
 fork | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/fork b/fork
index 46f0bfc..e238975 100755
--- a/fork
+++ b/fork
@@ -9,7 +9,8 @@
 
 
 if [ -z "$@" ]; then
-	printf "$0: requires argument\\n"
+	printf "fork: requires argument\\n"
+	exit 1
 fi
 (
 exec 0>/dev/null 1>&0 2>&0 "$@"