Skip to content

Commit 0c9a898

Browse files
committed
Improved implementation of the create_directory() function.
Changed message to error log level and improved error message. Signed-off-by: kilo52 <[email protected]>
1 parent 48bd0cb commit 0c9a898

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libinit.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6317,7 +6317,7 @@ function create_directory() {
63176317
fi
63186318
fi
63196319
if ! mkdir -p "$file_path"; then
6320-
logW "Failed to create directory: '${arg_dir_path}'";
6320+
logE "Failed to create directory or one of its parents: '${arg_dir_path}'";
63216321
return 1;
63226322
fi
63236323
if [[ $add_file_to_cache == true ]]; then

0 commit comments

Comments
 (0)