diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2019-01-17 21:53:53 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2019-01-17 22:59:45 +0100 |
commit | fe7ae562e5d0121d1c5f4d3ba1ec4117c7bbaab8 (patch) | |
tree | 85e89c716b04ebf9732837e78da6f7b32b1f9169 /scripts | |
parent | 94e748d0276a089ca9093767d15b5d050e0218b1 (diff) |
checkstack.pl: fix arch autodetection
chomp trailing newlines
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/checkstack.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/checkstack.pl b/scripts/checkstack.pl index 55cdd78c1..b5980a2e3 100755 --- a/scripts/checkstack.pl +++ b/scripts/checkstack.pl @@ -32,6 +32,7 @@ my (@stack, $re, $x, $xs); my $arch = shift; if ($arch eq "") { $arch = `uname -m`; + 1 while chomp $arch; } $x = "[0-9a-f]"; # hex character |