From 24a66f42d67d83714ad971347488c0246e3e8f7c Mon Sep 17 00:00:00 2001 From: Chris Liddell Date: Mon, 14 Oct 2019 18:29:10 +0100 Subject: 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. --- Resource/Init/gs_init.ps | 7 +++++-- 1 file 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 } { [ -- cgit v1.2.1