[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: trap removement / termux issue
From: |
Lawrence Velázquez |
Subject: |
Re: trap removement / termux issue |
Date: |
Sun, 16 Jul 2023 15:21:08 -0400 |
User-agent: |
Cyrus-JMAP/3.9.0-alpha0-531-gfdfa13a06d-fm-20230703.001-gfdfa13a0 |
On Sun, Jul 16, 2023, at 2:41 PM, alex xmb ratchev wrote:
> a mate using termux or nix ( some nixos termux clone ) , noticed a leftover
> trap
> my same output :
>
> ~ $ trap
> trap -- '' 38
> ~ $
>
> i couldnt remove it using trap '' 38 nor trap - 38 or trap -- - 38
You don't mention trapping this signal, so I'd guess the terminal
emulator (or one of its ancestors) ignored it.
"Signals ignored upon entry to the shell cannot be trapped or reset."
https://www.gnu.org/software/bash/manual/html_node/Bourne-Shell-Builtins.html#index-trap
--
vq