From dfafa3364eee5615c56e02f37bcca13ebc0402a7 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Thu, 7 Jul 2016 22:09:47 +0100 Subject: [PATCH] added selfname to bottom --- lgsm/functions/command_console.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lgsm/functions/command_console.sh b/lgsm/functions/command_console.sh index 1e888155c..3d3873f0d 100644 --- a/lgsm/functions/command_console.sh +++ b/lgsm/functions/command_console.sh @@ -45,5 +45,7 @@ else * ) echo "Please answer yes or no.";; esac done + function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" fi + core_exit.sh