]> gitweb.fluxo.info Git - puppet-backup.git/commitdiff
Minor fix
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 31 May 2013 21:03:01 +0000 (18:03 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 31 May 2013 21:03:01 +0000 (18:03 -0300)
files/sync-media-init

index aee3541e0a9b434a0a80ce28a2f0751544dba18b..c12ad7f156fff0f8b6e70b8d952b71e04e5dc2d1 100644 (file)
@@ -46,7 +46,7 @@ for file in `ls $MEDIA`; do
     echo Processing "$MEDIA/$file..."
     cd $MEDIA/$file
 
-    if git remotes | grep -q "^origin$"; then
+    if git remote | grep -q "^origin$"; then
       echo "Removing origin..."
       git remote rm origin
     fi