From b1e2a0183a9b5b587968f2ab77ac5952331d1972 Mon Sep 17 00:00:00 2001 From: danix Date: Fri, 14 Apr 2023 09:32:15 +0200 Subject: removed the 'function' keyword before declaring a function as is not needed. --- SOURCE/head.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'SOURCE/head.sh') diff --git a/SOURCE/head.sh b/SOURCE/head.sh index d609726..7b684f1 100644 --- a/SOURCE/head.sh +++ b/SOURCE/head.sh @@ -91,7 +91,7 @@ fi echo $PID > "$PIDFILE" # Export config to file -function export_config() { +export_config() { if [ -r ${RCFILE} ]; then echo "Backing up current '${RCFILE}'...." mv -f ${RCFILE} ${RCFILE}.$(date +%Y%m%d_%H%M) @@ -112,7 +112,7 @@ function export_config() { # we should expand on this function to add a sample note and explain a little bit # how the program works. -function firstrun() { +firstrun() { [ -f $RCFILE ] && RC=$RCFILE || RC="none" clear -- cgit v1.2.3