Send openssl output to logfile on "ofp-pki self-sign" also.
authorBen Pfaff <blp@nicira.com>
Fri, 31 Oct 2008 20:31:42 +0000 (13:31 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 31 Oct 2008 21:09:53 +0000 (14:09 -0700)
utilities/ofp-pki.in

index a6d4521a87b169992ddbebaec93982abf92541ee..89a3dba0d1e096890a3f10104343b2a7a042be81 100755 (executable)
@@ -498,7 +498,7 @@ elif test "$command" = self-sign; then
     must_not_exist "$arg1-cert.pem"
 
     openssl x509 -in "$arg1-req.pem" -out "$arg1-cert.pem" \
-        -signkey "$arg1-privkey.pem" -req -text
+        -signkey "$arg1-privkey.pem" -req -text 2>&3
 elif test "$command" = ls; then
     check_type "$arg2"