Skip to content
Browse files

less verbose output on errors that are meaningless

  • Loading branch information...
1 parent 276ef0a commit b0aa0e96c93b051811e0b8c5e4f34f2b965eb0f3 @graysky2 committed Dec 6, 2012
Showing with 6 additions and 2 deletions.
  1. +4 −0 CHANGELOG
  2. +2 −2 profile-cleaner
View
4 CHANGELOG
@@ -1,3 +1,7 @@
+v1.89
+06-Dec-2012
+Less verbose output on errors.
+
v1.88
03-Dec-2012
Honor custom locations for XDG_CONFIG_HOME (thanks to fschiff for the suggestion).
View
4 profile-cleaner
@@ -1,13 +1,13 @@
#!/bin/bash
export BLD="\e[01m" RED="\e[01;31m" GRN="\e[01;32m" YLW="\e[01;33m" NRM="\e[00m"
-VERS="1.88"
+VERS="1.89"
if [[ -z $(which parallel) ]]; then
echo -e ${RED}"Error: GNU Parallel is now a requirement of this script. Please install it and try again."${NRM}
exit 1
fi
-find /tmp -name 'work2do.*' -o -name 'accounting.*' -o -name "totalwork2do" | SHELL=/bin/bash parallel rm -f
+find /tmp -name 'work2do.*' -o -name 'accounting.*' -o -name "totalwork2do" | SHELL=/bin/bash parallel rm -f 2>/dev/null
echo -e "${RED}profile-cleaner v$VERS${NRM}"
echo

0 comments on commit b0aa0e9

Please sign in to comment.
Something went wrong with that request. Please try again.