diff options
Diffstat (limited to 'lib/cache.sh')
-rw-r--r-- | lib/cache.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cache.sh b/lib/cache.sh index b428fd8..a87646b 100644 --- a/lib/cache.sh +++ b/lib/cache.sh @@ -29,7 +29,7 @@ oh_cache() mkdir -p "${OH_SOURCE_DIR}/tmp/.cache" - if [ ${#} -eq 1 ]; then + if [ ${#} -eq 0 ]; then cat "${OH_SOURCE_DIR}/tmp/.cache/${_property}" 2>/dev/null else echo "${*}" >"${OH_SOURCE_DIR}/tmp/.cache/${_property}" |