summaryrefslogtreecommitdiff
path: root/vc
diff options
context:
space:
mode:
authorAdrian Schröter <adrian@suse.de>2013-12-05 10:58:06 +0100
committerAdrian Schröter <adrian@suse.de>2013-12-05 10:58:06 +0100
commit55e8632378afbaa8547ea996caaff0a2c22956cd (patch)
treed21da43590792b8ccbd2de7f9ff5ce55c1b7232b /vc
parent8e7016edfaea6a5cc7b0d5236f81b2f2d748f66b (diff)
- fix syntax error from commit 87a0d0e11723a50ddab354966c1729d742149bd8
Diffstat (limited to 'vc')
-rwxr-xr-xvc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vc b/vc
index 87f02a6..9d60d64 100755
--- a/vc
+++ b/vc
@@ -166,7 +166,7 @@ if [ -z "$message" ]; then
fi
fi
mode=`stat -c "%a" "$changelog"`
-user=`stat -c "%G:%U" "$changelog"`
+user=`stat -c "%U:%G" "$changelog"`
mv "$tmpfile" "$changelog"
chmod $mode "$changelog"
chown $user "$changelog"