diff --git a/rc b/rc index 1217931..857746d 100644 --- a/rc +++ b/rc @@ -11,7 +11,7 @@ export PATH . "$TOOLSPATH"/qcd_function # Update self weekly -[[ -f "$TOOLSPATH"/.lastupdate ]] || touch -t 0101010101 "$TOOLSPATH"/.lastupdate 2>&1 > /dev/null +[[ -f "$TOOLSPATH"/.lastupdate ]] || touch -t 0101010101 "$TOOLSPATH"/.lastupdate 2> /dev/null [[ -f "$TOOLSPATH"/.lastupdate ]] || return TOOLS_LASTUPDATE=$(( $( date +%s ) - $( stat -c %Y "$TOOLSPATH"/.lastupdate ) ))