From f0dee6f9cdf721af2129d9165ff93a925e462152 Mon Sep 17 00:00:00 2001 From: aklyachkin Date: Thu, 10 Aug 2017 12:06:43 +0200 Subject: [PATCH] typo - should $g for group instead of doulbe $u Signed-off-by: aklyachkin --- lib/train/extras/stat.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/train/extras/stat.rb b/lib/train/extras/stat.rb index d045e3d8..f9cdaec0 100644 --- a/lib/train/extras/stat.rb +++ b/lib/train/extras/stat.rb @@ -107,7 +107,7 @@ def self.aix_stat(shell_escaped_path, backend, follow_symlink) @a = #{lstat}(shift) or exit 2; $u = getpwuid($a[4]); $g = getgrgid($a[5]); - printf("0%o\\n%s\\n%d\\n%s\\n%d\\n%d\\n%d\\n", $a[2], $u, $a[4], $u, $a[5], $a[9], $a[7]) + printf("0%o\\n%s\\n%d\\n%s\\n%d\\n%d\\n%d\\n", $a[2], $u, $a[4], $g, $a[5], $a[9], $a[7]) ' #{shell_escaped_path} EOP