From 3eec9c57cae6792772022092f7a3f34e4fff8f05 Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Thu, 4 Oct 2018 23:21:40 +0000 Subject: [PATCH] Switch perl to logging To find the users and see if we can get rid of it. Test: treehugger Change-Id: I149f8daee6e21b35840ea1788de7f3e310eb5fba --- ui/build/paths/config.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ui/build/paths/config.go b/ui/build/paths/config.go index 788646610..ef6fd5f67 100644 --- a/ui/build/paths/config.go +++ b/ui/build/paths/config.go @@ -39,6 +39,12 @@ var Forbidden = PathConfig{ Error: true, } +var Log = PathConfig{ + Symlink: true, + Log: true, + Error: false, +} + // The configuration used if the tool is not listed in the config below. // Currently this will create the symlink, but log and error when it's used. In // the future, I expect the symlink to be removed, and this will be equivalent @@ -104,7 +110,7 @@ var Configuration = map[string]PathConfig{ "openssl": Allowed, "paste": Allowed, "patch": Allowed, - "perl": Allowed, + "perl": Log, "pgrep": Allowed, "pkill": Allowed, "ps": Allowed,