Skip to content

Commit c9c3d16

Browse files
committed
Script logic hotfix
1 parent 78c45b7 commit c9c3d16

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

deploy_freenas.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ _parse_ini() {
7474
# Parse configuration file
7575
CONFIG="${WDIR}/deploy_config"
7676

77-
if [ -r "$CONFIG" ]; then _err "ERROR: Can't load deploy_config!"; exit 1; fi
77+
if [ ! -r "$CONFIG" ]; then _err "ERROR: Can't load deploy_config!"; exit 1; fi
7878

7979
eval $(_parse_ini ${CONFIG})
8080

util/opnsense/actions_deploy_freenas.conf

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
command:/root/deploy-freenas/deploy-freenas.sh
33
parameters:
44
type:script
5-
message:Deploy TLS cert to FreeNAS
6-
description:Deploy TLS certificates to FreeNAS servers
5+
message:Deploy TLS-certificate to FreeNAS server
6+
description:Deploy TLS-certificate to FreeNAS server

0 commit comments

Comments
 (0)