Skip to content
Snippets Groups Projects
Commit 5d528930 authored by Patrick Cernko's avatar Patrick Cernko
Browse files

ensuring MMPW set

parent 1858a746
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,11 @@ if [ ! -f "/etc/sympa/$robot/robot.conf" ]; then
exit 1
fi
if [ -z "$MMPW" ]; then
echo "Please set MMPW to the listadmin password of $mmdomain!" >&2
exit 1
fi
function sshml() {
ssh -o ControlPath="~/.ssh/cp-$MPI_ROOT-%C" -o ControlMaster=auto -o ControlPersist=600s $mmdomain -l root "$@"
}
......@@ -33,7 +38,7 @@ tmpdir=$(mktemp -t -d mm2sympa.${mailmanlist/@/AT}.XXXXXXXX)
chmod go+rx $tmpdir
trap "rm -rf $tmpdir" 0 1 2 5 15 EXIT
set -x
#set -x
# create list based on mailman config
inputpy=$tmpdir/input.py
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment