summaryrefslogtreecommitdiff
path: root/rvi
diff options
context:
space:
mode:
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