aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cpt-lib.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cpt-lib.in b/src/cpt-lib.in
index 407fd82..7e754e8 100644
--- a/src/cpt-lib.in
+++ b/src/cpt-lib.in
@@ -37,19 +37,19 @@ warn() {
outv() {
# Call `out()` when CPT_VERBOSE is set.
- [ "$CPT_VERBOSE" -eq 1 ] || return 0
+ [ "$CPT_VERBOSE" = 1 ] || return 0
out "$@"
}
logv() {
# Call `log()` when CPT_VERBOSE is set.
- [ "$CPT_VERBOSE" -eq 1 ] || return 0
+ [ "$CPT_VERBOSE" = 1 ] || return 0
log "$@"
}
warnv() {
# Call `warn()` when CPT_VERBOSE is set.
- [ "$CPT_VERBOSE" -eq 1 ] || return 0
+ [ "$CPT_VERBOSE" = 1 ] || return 0
warn "$@"
}