summaryrefslogtreecommitdiff
path: root/vc
diff options
context:
space:
mode:
Diffstat (limited to 'vc')
-rwxr-xr-xvc4
1 files changed, 2 insertions, 2 deletions
diff --git a/vc b/vc
index bf57343..66f3da0 100755
--- a/vc
+++ b/vc
@@ -8,7 +8,7 @@
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 2 or 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
@@ -148,7 +148,7 @@ if [ -z "$message" ]; then
fi
fi
mode=`stat -c "%a" "$changelog"`
-user=`stat -c "%U:%G" "$changelog"`
+user=`stat -c "%u:%g" "$changelog"`
mv "$tmpfile" "$changelog"
chmod $mode "$changelog"
chown $user "$changelog"