diff --git a/rc b/rc index 3bbe2ad..1217931 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 +[[ -f "$TOOLSPATH"/.lastupdate ]] || touch -t 0101010101 "$TOOLSPATH"/.lastupdate 2>&1 > /dev/null [[ -f "$TOOLSPATH"/.lastupdate ]] || return TOOLS_LASTUPDATE=$(( $( date +%s ) - $( stat -c %Y "$TOOLSPATH"/.lastupdate ) ))