summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2023-03-17 15:50:04 +0100
committerUrban Müller2023-03-17 15:50:04 +0100
commit9b94f30c83be11060c35bfc2f7be60f8fdd38548 (patch)
tree0066ea795790dac630d06fa6aaf17a08047b66cb
parent0d0140c0de98de28106610e58aa8bebc07566a85 (diff)
downloaditools-9b94f30c83be11060c35bfc2f7be60f8fdd38548.tar.gz
itools-9b94f30c83be11060c35bfc2f7be60f8fdd38548.tar.bz2
itools-9b94f30c83be11060c35bfc2f7be60f8fdd38548.zip
actually indicate offending value
-rw-r--r--it.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it.class b/it.class
index 53d5842..2e5c6f8 100644
--- a/it.class
+++ b/it.class
@@ -763,7 +763,7 @@ static function _exec_quotevalue($value, $errmsg = "")
$result = strval($value);
if (it::match('^-', $result))
- it::fatal("leading - in value: " . $errmsg);
+ it::fatal("leading - in value '$result': " . $errmsg);
return preg_match('#^[-a-zA-Z0-9./_:,]+$#', $result) ? $result : escapeshellarg($result);
}