wttech / CQ-Unix-Toolkit

CQ Unix Toolkit
46 stars 23 forks source link

Non-zero exit code upon successful JCR node modification #40

Open jwadolowski opened 9 years ago

jwadolowski commented 9 years ago

Hey,

$ ~/projects/CQ-Unix-Toolkit/cqjcr -i http://localhost:4502 -u admin -p admin -a /content/geometrixx/en/products/jcr:content -n jcr:primaryType -v cq:PageContent
Creating/modyfing /content/geometrixx/en/products/jcr:content
  Setting 'jcr:primaryType' to: 'cq:PageContent' 
Successfully created/modified: /content/geometrixx/en/products/jcr:content
$ echo $?                                                                                                                   
1

CQ/AEM response was 200 as stated below

10.0.2.2 - admin 31/Jul/2015:14:01:13 +0000 "POST /content/geometrixx/en/products/jcr:content HTTP/1.1" 200 1735 "http://localhost:4502/content/geometrixx/en/products/jcr:content" "curl/7.35.0"