From dc3c53d7c8428505536b2d406db0352b999c61d5 Mon Sep 17 00:00:00 2001 From: ray Date: Mon, 17 Feb 2020 14:34:22 +0000 Subject: [PATCH] improve error message --- notify-updates | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/notify-updates b/notify-updates index 34db54c..015d080 100755 --- a/notify-updates +++ b/notify-updates @@ -8,7 +8,8 @@ _show_help=0 if ! [ -f "$_target_file" ] ; then - echo "Error - file not found: $_target_file" + echo "notify-updates: cannot access '$_target_file': File not found" + echo "notify-updates: try executing 'pacman-update-count.sh'" exit 1 fi