diff --git a/ssl/dhparams b/ssl/dhparams
index ffc044f12c34eef5cd5814f24f8481cc5aa5031a..277936c9d2a844fe294e19c23e4d2c655fc30ee9 100755
--- a/ssl/dhparams
+++ b/ssl/dhparams
@@ -3,7 +3,7 @@
 
 fail ()
 {
-    echo "{\"failed\": true, \"msg\": \"$1\" \"bits\": 0}"
+    echo "{\"failed\": true, \"msg\": \"$1\", \"bits\": 0}"
     exit
 }