Commit 6e3d965f by sn

...

1 parent 979244a1
Showing with 3 additions and 4 deletions
......@@ -8,7 +8,7 @@
. basepath.inc.sh
. "$__PATH_to_mcBash/include.inc.sh"
execute=1
execute=0
logfile="$__PATH_to_Log/$1.log"
mc_h1 "$0 $1 $2 $3 (logfile=$logfile)"
......
......@@ -5,7 +5,7 @@
# @param string $2 logfile (FILE exists and is writable)
#
mc_log() {
echo -e $0 $1 $2
# echo -e $0 $1 $2
if [ -w $2 ] ; then
echo "$(date +"%Y%m%d_%H%M%S") $1" >> $2
else
......@@ -30,7 +30,6 @@ mc_h2() {
#
mc_e() {
echo -e "\n$1"
mc_log $1 $2
}
#
......@@ -48,7 +47,7 @@ mc_bashsu() {
fi
fi
mc_log $1 $3
mc_log "$1" "$3"
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!