From b8a1955ab99cedde654eaf0af13284173f2802f2 Mon Sep 17 00:00:00 2001 From: clsty Date: Sun, 19 Oct 2025 06:53:23 +0800 Subject: [PATCH] Update showfun() --- sdata/lib/functions.sh | 4 ++-- sdata/step/exp-update.sh | 0 2 files changed, 2 insertions(+), 2 deletions(-) mode change 100755 => 100644 sdata/step/exp-update.sh diff --git a/sdata/lib/functions.sh b/sdata/lib/functions.sh index 62024d683..dbcf7e8d2 100644 --- a/sdata/lib/functions.sh +++ b/sdata/lib/functions.sh @@ -62,7 +62,7 @@ function x(){ function showfun(){ echo -e "${STY_BLUE}[$0]: The definition of function \"$1\" is as follows:${STY_RST}" printf "${STY_GREEN}" - type -a "$1" 2>/dev/null || type -a "$1".sh 2>/dev/null || return 1 + type -a "$1" 2>/dev/null || return 1 printf "${STY_RST}" } function pause(){ @@ -290,4 +290,4 @@ function check_disk_space() { fi return 0 -} \ No newline at end of file +} diff --git a/sdata/step/exp-update.sh b/sdata/step/exp-update.sh old mode 100755 new mode 100644