diff --git a/bin/vmail-mboxes-mod.sh b/bin/vmail-mboxes-mod.sh index 5e8025b..e0211f9 100755 --- a/bin/vmail-mboxes-mod.sh +++ b/bin/vmail-mboxes-mod.sh @@ -56,7 +56,7 @@ fi # check for password update if [ ! -z "$password" ]; then - passwd=`doveadm -o stats_writer_socket_path= pw -s sha512-crypt -p "$passwd"` + passwd=`doveadm -o stats_writer_socket_path= pw -s sha512-crypt -p "$password"` if [ ! -z "$dbset" ]; then dbset="$dbset," fi