Merge "Switch perl to logging"

This commit is contained in:
Treehugger Robot 2018-10-05 03:54:30 +00:00 committed by Gerrit Code Review
commit a1afb6e006
1 changed files with 7 additions and 1 deletions

View File

@ -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,