aboutsummaryrefslogtreecommitdiff
path: root/pdebuild-checkparams
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-11-13 11:24:29 +0000
committerMattia Rizzolo <mattia@mapreri.org>2015-11-15 10:16:22 +0000
commite2420f46582fb7761d04ed86c2201dd79a857e51 (patch)
tree4c280b1df30beef695c9a84178aa405f07c21cce /pdebuild-checkparams
parentfcee0334be27ea4ec4a5fdc3f940e015e60defe9 (diff)
downloadpbuilder-e2420f46582fb7761d04ed86c2201dd79a857e51.tar
pbuilder-e2420f46582fb7761d04ed86c2201dd79a857e51.tar.gz
use log.e() instead of log()
Diffstat (limited to 'pdebuild-checkparams')
-rw-r--r--pdebuild-checkparams4
1 files changed, 2 insertions, 2 deletions
diff --git a/pdebuild-checkparams b/pdebuild-checkparams
index 885ed7a..4a4243e 100644
--- a/pdebuild-checkparams
+++ b/pdebuild-checkparams
@@ -47,7 +47,7 @@ while [ -n "$1" ]; do
;;
--configfile)
if [ ! -f "$2" ]; then
- log "E: Config file $2 does not exist"
+ log.e "Config file $2 does not exist"
exit 1
fi
. "$2";
@@ -107,7 +107,7 @@ while [ -n "$1" ]; do
break;
;;
--*)
- log "E: Unknown option [$1] was specified "
+ log.e "Unknown option [$1] was specified "
exit 1;
;;
*)