summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2020-06-29 15:23:49 +0200
committerUrban Müller2020-06-29 15:23:49 +0200
commit007ed5dbc6aac41ecbf020484b4ccf401f2a86fc (patch)
treeaf61df12c2dce162c6efdd41ec56243c8276a19a
parent109c2f39509600e7344124b0ce2152538a8c7e51 (diff)
downloaditools-007ed5dbc6aac41ecbf020484b4ccf401f2a86fc.tar.gz
itools-007ed5dbc6aac41ecbf020484b4ccf401f2a86fc.tar.bz2
itools-007ed5dbc6aac41ecbf020484b4ccf401f2a86fc.zip
remove unnecessary err messages elsewhere
-rw-r--r--it.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it.class b/it.class
index 7b9e31f..fe86471 100644
--- a/it.class
+++ b/it.class
@@ -719,7 +719,7 @@ static function _exec_quotevalue($value, $errmsg = "")
if (it::match('^-', $result))
it::fatal("leading - in value: " . $errmsg);
- return preg_match('#^[-a-zA-Z0-9./_:,]+$#', $result) ? $result : @escapeshellarg($result); # avoid reporting null bytes
+ return preg_match('#^[-a-zA-Z0-9./_:,]+$#', $result) ? $result : escapeshellarg($result);
}