s!/etc/slackware-release!/etc/slackware-version! (reported by bubulak)
[util-vserver.git] / util-vserver / scripts / functions
index 4a24bd5..32afcd3 100644 (file)
@@ -96,7 +96,7 @@ function isDirectoryEmpty
        
        for i in "$1"/*; do
            case "$i" in
-               (lost+found)
+               ($1/lost+found)
                    test "$ignore_lostfound" || exit 1
                    ;;
                (*)     echo "$i"; exit 1
@@ -213,7 +213,7 @@ function colpanic
     if test -n "$_VS_ERRFILE"; then
        echo "$@" >>"$_VS_ERRFILE"
     else
-       colorize echo -n "$@" >&2
+       colorize error echo -n "$@" >&2
     fi
     echo