summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Liddell <chris.liddell@artifex.com>2019-10-14 18:29:10 +0100
committerChris Liddell <chris.liddell@artifex.com>2019-10-14 18:31:02 +0100
commit24a66f42d67d83714ad971347488c0246e3e8f7c (patch)
tree9252cab3e6b9e4d6e48df0e55c9d2b29fc640472
parentdad10464de52d344287843ca872b56c8e7f33ccb (diff)
downloadghostpdl-24a66f42d67d83714ad971347488c0246e3e8f7c.tar.gz
Have warning honor -dQUIET
Have the warning about calling .lockfileaccess or .setsafe when the controls are already in place honor the -dQUIET/-q command line params.
-rw-r--r--Resource/Init/gs_init.ps7
1 files changed, 5 insertions, 2 deletions
diff --git a/Resource/Init/gs_init.ps b/Resource/Init/gs_init.ps
index 5629a4e62..722b57c1e 100644
--- a/Resource/Init/gs_init.ps
+++ b/Resource/Init/gs_init.ps
@@ -2218,8 +2218,11 @@ readonly def
/.lockfileaccess {
.currentpathcontrolstate
{
- (\n **** WARNING: .lockfileaccess or .setsafe called ****\n) print
- ( **** when file access controls are already active ****\n) print flush
+ //QUIET not
+ {
+ (\n **** WARNING: .lockfileaccess or .setsafe called ****\n) print
+ ( **** when file access controls are already active ****\n) print flush
+ } if
}
{
[