From b72fc627eb5200eb39b0c8f3f3ccb92a57eeb806 Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Thu, 28 Mar 2024 14:23:55 +0100 Subject: tlobsd use basename to recall its name --- tlobsd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tlobsd b/tlobsd index 9655167..3e8d7ca 100644 --- a/tlobsd +++ b/tlobsd @@ -13,8 +13,8 @@ elif [[ $1 == "mksymlinks" ]];then tlobsd-mksymlinks $2 # something that is unknown to tlobsd else - echo "$1 is not known to $0. You should use:" + echo "$1 is not known to $(basename $0). You should use:" echo "--> ${cmd}" echo "instead of:" - echo "--> $0 ${cmd}" + echo "--> $(basename $0) ${cmd}" fi -- cgit v1.2.3