summaryrefslogtreecommitdiff
path: root/rvi
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2006-04-21 15:17:13 +0000
committerroot <root@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede>2006-04-21 15:17:13 +0000
commit430c19458dc67f558efcbe18786d13c08663259b (patch)
tree38f319a3c92aa4165f8e72772ccc3174240d255e /rvi
parentd94bc29f52de81d373ae910cde980dc209a5b0eb (diff)
move chown further down
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@68 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
Diffstat (limited to 'rvi')
-rwxr-xr-xrvi2
1 files changed, 1 insertions, 1 deletions
diff --git a/rvi b/rvi
index 9520332..2689fb1 100755
--- a/rvi
+++ b/rvi
@@ -25,13 +25,13 @@ fi
rm -f $1.rvi.diff
co -l $1
-chown $owner $1
if [ $? -ne 0 ] ; then
echo "Check out failed."
echo "Maybe someone else is currently editing this file."
echo "Aborting rvi."
exit 1
fi
+chown $owner $1
/usr/bin/vim $1
ci -u $1
chown $owner $1