CQ-Unix-Toolkit icon indicating copy to clipboard operation
CQ-Unix-Toolkit copied to clipboard

Non-zero exit code upon successful JCR node modification

Open jwadolowski opened this issue 10 years ago • 0 comments

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"

jwadolowski avatar Jul 31 '15 14:07 jwadolowski