From: HAT Date: Wed, 26 Sep 2012 13:48:48 +0000 (+0900) Subject: apple_dump: small fix X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=netatalk.git;a=commitdiff_plain;h=0aa8a675e0415b56bc9957eb71f0035b1fd909bb apple_dump: small fix --- 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;