|
From: | Mathias Steiger |
Subject: | Re: obscure bug "extern void free (void *__ptr) __attribute__ ((__nothrow__ , __leaf__));" |
Date: | Fri, 22 Jan 2021 05:09:22 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 |
It is /bin/sh which is a symlink to bash on Archlinux. On 1/22/21 12:27 AM, Eduardo Bustamante wrote:
Greg pointed out earlier that the construct you're trying to use doesn't work well when the shell is not Bash. Are you 100% confident that it is /bin/bash that is running the script and not /bin/sh (and thus maybe something like Dash?). And keep in mind that even Bash running as /bin/sh is not quite the same as Bash running as /bin/bash.
[Prev in Thread] | Current Thread | [Next in Thread] |