mirror of
https://github.com/schollz/croc.git
synced 2024-11-24 08:02:33 +03:00
Adding rcode for completness sake on the create_prefix function.
This commit is contained in:
parent
f6ad8f57cf
commit
47d84b9947
@ -354,6 +354,9 @@ create_prefix() {
|
|||||||
prefix="${1}"
|
prefix="${1}"
|
||||||
|
|
||||||
mkdir -p "${prefix}"
|
mkdir -p "${prefix}"
|
||||||
|
rcode="${?}"
|
||||||
|
|
||||||
|
return "${rcode}"
|
||||||
}
|
}
|
||||||
|
|
||||||
#--- FUNCTION ----------------------------------------------------------------
|
#--- FUNCTION ----------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user