X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=sh-lib;h=85d3c567009d11c1453b76734c3fd15fc275a442;hb=d3e3bc71f1950d3567883844c6f0f715fcbbfff6;hp=e68951c242779f43368337153a67bd8fc04bd111;hpb=2ec0194b68bbf2675315d21602c0d635f46f5495;p=grml-shlib.git diff --git a/sh-lib b/sh-lib index e68951c..85d3c56 100644 --- a/sh-lib +++ b/sh-lib @@ -177,6 +177,10 @@ function warnLog # ### +## +# ATTENTION... THIS FUNCTINOS IS A BIG SECURITY HOLE +# this function will be changed in future release +## # i don't want to write exit status controle stuff every time function execute { @@ -186,6 +190,7 @@ function execute local ret_='' + # NOT A GOOD IDEA eval "$to_exec_" ret_=$? @@ -246,7 +251,7 @@ function isNotExistent if [ -e "$file_to_test_" ]; then if [ -z "$message_" ]; then - $error_function_ "file does allready exist \"$file_to_test_\"" 67 + $error_function_ "file does already exist \"$file_to_test_\"" 67 else $error_function_ "$message_" fi