Fix uip/whom.c for C89 compatibility
[mmh] / uip / mmh.sh
index 68cf120..fe519c3 100755 (executable)
@@ -25,11 +25,10 @@ while [ $# -ge 1 ] ; do
                # check if mmh is set up
                # Note: The mail storage dir gets silently created if
                #       everything else is properly set up.
                # check if mmh is set up
                # Note: The mail storage dir gets silently created if
                #       everything else is properly set up.
-               # (folder will always create the folder if input is no tty!)
-               echo | folder >/dev/null 2>&1
+               folder -create >/dev/null 2>&1
                exit $?
                ;;
                exit $?
                ;;
-       -v*)
+       -V*)
                echo "mmh has no own version number, thus this instead:"
                folder -Version
                exit 0
                echo "mmh has no own version number, thus this instead:"
                folder -Version
                exit 0