From ed4a897745d3ae9449c47fb04588b252b06d063b Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Tue, 29 Dec 2020 16:23:32 +0000 Subject: [PATCH] exit --- lgsm/functions/command_skeleton.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lgsm/functions/command_skeleton.sh b/lgsm/functions/command_skeleton.sh index cd143e661..f6833e800 100644 --- a/lgsm/functions/command_skeleton.sh +++ b/lgsm/functions/command_skeleton.sh @@ -9,12 +9,12 @@ fn_print_dots "Creating skeleton directory" check.sh # Find all directorys and create them in the skel directory -find ${rootdir} -type d -not \( -path ./skel -prune \) | cpio -pdvm skel +find ${rootdir} -type d -not \( -path ./skel -prune \) | cpio -pdvm skel 2>/dev/null if [ $? != 0 ]; then fn_print_fail_nl "Creating skeleton directory" fn_script_log_fatal "Creating skeleton directory" - core_exit.sh else fn_print_ok_nl "Creating skeleton directory" fn_script_log_pass "Creating skeleton directory" fi +core_exit.sh