Skip to content

Commit 58b0996

Browse files
committed
Update deploy_freenas.py
1 parent 1c2e374 commit 58b0996

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deploy_freenas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def validate_cert_key_pair(cert_pem, key_pem):
130130
result=c.call("auth.login_with_api_key", API_KEY)
131131
if result==False:
132132
logger.critical("Failed to authenticate!")
133-
exit(1)
133+
sys.exit(1)
134134
# Import the certificate
135135
args = {"name": cert_name, "certificate": full_chain, "privatekey": priv_key, "create_type": "CERTIFICATE_CREATE_IMPORTED"}
136136
try:

0 commit comments

Comments
 (0)