summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/pkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pkg b/bin/pkg
index 9af61de..7400fdf 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -263,7 +263,7 @@ function vcs_status {
# Set the correct origin
function vcs_fix_origin {
if [[ ! -r .git/remotes/origin && ! -r .git/refs/remotes/origin ]] {
- fgrep '[remote "origin"]' .git/config ||
+ fgrep '[remote "origin"]' .git/config &> /dev/null ||
git remote add origin $PKG_ROOT/$1
}
git remote update &> /dev/null