]> Frank Brehm's Git Trees - config/ns1/etc.git/commitdiff
daily autocommit
authorFrank Brehm <frank@brehm-online.com>
Mon, 13 Apr 2020 22:18:23 +0000 (00:18 +0200)
committerFrank Brehm <frank@brehm-online.com>
Mon, 13 Apr 2020 22:18:23 +0000 (00:18 +0200)
postfix/mkpostfixcert

index 067735c58109a205d913fb4219eb9384817576fc..5a75c29c42141379ec9f71af321f12647fb3c9d3 100755 (executable)
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/bash
 #
 # This is a short script to quickly generate a self-signed X.509 key for
 # Postfix over SSL.  Normally this script would get called by an automatic
@@ -16,7 +16,7 @@ if [[ -f "${pemfile}" ]]; then
   exit 1
 fi
 
-if [[ ! -f "${conffile}" [] ; then
+if [[ ! -f "${conffile}" ]] ; then
   echo "${conffile} does not exists!"
   exit 2
 fi