From 0aa8a675e0415b56bc9957eb71f0035b1fd909bb Mon Sep 17 00:00:00 2001 From: HAT Date: Wed, 26 Sep 2012 22:48:48 +0900 Subject: [PATCH] apple_dump: small fix --- contrib/shell_utils/apple_dump.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/shell_utils/apple_dump.in b/contrib/shell_utils/apple_dump.in index 41b20e2e..6054e0f8 100755 --- a/contrib/shell_utils/apple_dump.in +++ b/contrib/shell_utils/apple_dump.in @@ -55,7 +55,7 @@ use bigint; # require perl >= 5.8 if ( 0 == system("which getfattr > /dev/null 2>&1")) { $eacommand = 1; -} elsif (0 == system("which xattr > /dev/null 2>&1")) { +} elsif (0 == system("which attr > /dev/null 2>&1")) { $eacommand = 2; } elsif (0 == system("which runat > /dev/null 2>&1")) { $eacommand = 3; @@ -111,7 +111,7 @@ while ($arg = shift @ARGV) } elsif ($arg eq "-e") { if ($eacommand == 0) { printf (STDERR "%s: unsupported option -e\n", basename($0)); - printf (STDERR "because neither getfattr, xattr, runat nor getextattr is found.\n"); + printf (STDERR "because neither getfattr, attr, runat nor getextattr is found.\n"); exit 1; } $eaoption = 1; -- 2.39.2