From 68c5517b9e4a570082ce8223701449f6dc9608bc Mon Sep 17 00:00:00 2001 From: Steven Baltakatei Sandoval Date: Thu, 1 Dec 2022 09:03:23 +0000 Subject: [PATCH] feat(user/list_large_dirs.sh):Set version 1.0.0 --- user/list_large_dirs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/user/list_large_dirs.sh b/user/list_large_dirs.sh index ba3c042..3dc1adb 100755 --- a/user/list_large_dirs.sh +++ b/user/list_large_dirs.sh @@ -6,7 +6,7 @@ # `vacation_photos`) could be found by running: # $ script.sh 100 "$HOME" # /home/johndoe/Pictures/unsorted/notjunk/vacation_photos -# Version: 0.0.2 +# Version: 0.1.0 yell() { echo "$0: $*" >&2; } # print script path and all args to stderr die() { yell "$*"; exit 111; } # same as yell() but non-zero exit status @@ -43,7 +43,7 @@ checkInt() { check_depends() { local flag_return=0; - if ! command -v du; then flag_return=1; fi; + if ! command -v du 1>/dev/random 2>&1; then flag_return=1; fi; return "$flag_return"; }; # returns 1 if missing dependencies -- 2.30.2