diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2010-07-29 13:47:47 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2010-07-29 13:47:47 +0000 |
commit | a79abf09278473b278c611f3eec1a7c785dda44b (patch) | |
tree | 985aae3e4c4ebb736cf0eea622e294362f754040 /src | |
parent | bf0cd3f4a47d9458a98bb103b52a9d1ba7b65175 (diff) | |
download | gnunet-a79abf09278473b278c611f3eec1a7c785dda44b.tar.gz gnunet-a79abf09278473b278c611f3eec1a7c785dda44b.zip |
removed piping stderr to /dev/null
Diffstat (limited to 'src')
-rwxr-xr-x | src/transport/gnunet-transport-certificate-creation | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/gnunet-transport-certificate-creation b/src/transport/gnunet-transport-certificate-creation index 402a4cebd..0b810ad23 100755 --- a/src/transport/gnunet-transport-certificate-creation +++ b/src/transport/gnunet-transport-certificate-creation | |||
@@ -10,13 +10,13 @@ fi | |||
10 | rm -f $1 $2 | 10 | rm -f $1 $2 |
11 | 11 | ||
12 | # Create RSA Private Key | 12 | # Create RSA Private Key |
13 | openssl genrsa -out $1 1024 2> /dev/null | 13 | openssl genrsa -out $1 1024 > /dev/null |
14 | if [ $? -ne 0 ]; then | 14 | if [ $? -ne 0 ]; then |
15 | rm -f $1 $2 | 15 | rm -f $1 $2 |
16 | exit 1 | 16 | exit 1 |
17 | fi | 17 | fi |
18 | # Create a self-signed certificate in batch mode using rsa key | 18 | # Create a self-signed certificate in batch mode using rsa key |
19 | openssl req -batch -days 365 -out $2 -new -x509 -key $1 2> /dev/null | 19 | openssl req -batch -days 365 -out $2 -new -x509 -key $1 > /dev/null |
20 | if [ $? -ne 0 ]; then | 20 | if [ $? -ne 0 ]; then |
21 | rm -f $1 $2 | 21 | rm -f $1 $2 |
22 | exit 1 | 22 | exit 1 |