#!/bin/bash

# Only SSL PassPhrase needs to be printed on STDOUT

# In CM_AUTO_TLS cm-auto-host_key.pw file comes without newline character
# In Generic case SSLPassPhrasefile may contain newline character
# This below code strips the newline character from the end.

if [ -e ${1} ]; then
  /bin/echo $(perl -pe 'eof&&chomp' ${1})
fi
