Github user alopresto commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/1865#discussion_r118784606
  
    --- Diff: 
nifi-commons/nifi-data-provenance-utils/src/test/groovy/org/apache/nifi/provenance/CryptoUtilsTest.groovy
 ---
    @@ -88,6 +88,11 @@ class CryptoUtilsTest {
             Cipher.getMaxAllowedKeyLength("AES") > 128
         }
     
    +    private static boolean isRootUser() {
    +        Process p = Runtime.getRuntime().exec("id -u")
    +        p.exitValue() == 0
    --- End diff --
    
    Yep, excellent catch. I'll fix it to evaluate the response, not the exit 
code. Thanks. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to