diff --git a/functions b/functions index b7d97eaaa..099101540 100644 --- a/functions +++ b/functions @@ -195,5 +195,5 @@ function timestamp_puppet_log() { } function catch_puppet_failures() { - grep -wiE '(Error|\(err\))' ${WORKSPACE}/puppet.log + $SUDO grep -wiE '(Error|\(err\))' ${WORKSPACE}/puppet.log }