๐Ÿ“ฆโž”๐Ÿฆ‹ Store and retrieve files on the Atmosphere
34
fork

Configure Feed

Select the types of activity you want to include in your feed.

add die if hook path not found

Ducky 9a2d16a0 f6ace38d

+7 -3
+7 -3
src/shared/util.sh
··· 1127 1127 function atfile.util.source_hook() { 1128 1128 file="$1" 1129 1129 1130 - if [[ -f "$file" ]]; then 1130 + if [[ -n "$file" ]]; then 1131 1131 atfile.say.debug "Sourcing: $file" 1132 - # shellcheck disable=SC1090 1133 - . "$file" 1132 + if [[ -f "$file" ]]; then 1133 + # shellcheck disable=SC1090 1134 + . "$file" 1135 + else 1136 + atfile.die "Unable to source '$file'" 1137 + fi 1134 1138 fi 1135 1139 } 1136 1140