Ignore errors in gpull-dirs.

Pascal J. Bourguignon [2018-10-27 21:34]
Ignore errors in gpull-dirs.
Filename
git-groups
diff --git a/git-groups b/git-groups
index 1dc4c0a..dedd855 100755
--- a/git-groups
+++ b/git-groups
@@ -7,7 +7,7 @@ gsets=()
 gdirs=("$HOME/.config/gpull-dirs"  "$(dirname "$0")/gdirs")
 for dir in "${gdirs[@]}" ; do
     if [ -r "$dir" ] ; then
-        source "$dir" # should define gsets
+        source "$dir" || true # should define gsets
         break
     fi
 done
ViewGit