diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-14 01:36:56 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-14 01:36:56 (EDT) |
commit | ac09c8515846ce142d7264be653efd845f2008e0 (patch) | |
tree | 74a2a72825b6c0f12ad908aa0e4cc94412b7ba83 /src | |
parent | 049f1d1434c5e3dc5f1c6a0d57711b33911c3b12 (diff) |
dir_is_empty(): Prefix with "_"
Diffstat (limited to 'src')
-rw-r--r-- | src/dir.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -40,7 +40,7 @@ hash_name() return 0 } -dir_is_empty() +_dir_is_empty() { local dir="${1}" shift 1 @@ -70,7 +70,7 @@ try_rmdir() local dir="${1}" shift 1 - if ! dir_is_empty "${dir}"; then + if ! _dir_is_empty "${dir}"; then return 1 fi if ! rmdir -- "${dir}"; then |