mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-28 17:10:59 +01:00
25651: make getpermtext() output indentation more logical
This commit is contained in:
parent
fb67cd46ea
commit
d37f9672cb
7 changed files with 14 additions and 17 deletions
|
|
@ -5725,7 +5725,7 @@ bin_trap(char *name, char **argv, UNUSED(Options ops), UNUSED(int func))
|
|||
if (!siglists[sig])
|
||||
printf("trap -- '' %s\n", name);
|
||||
else {
|
||||
s = getpermtext(siglists[sig], NULL);
|
||||
s = getpermtext(siglists[sig], NULL, 0);
|
||||
printf("trap -- ");
|
||||
quotedzputs(s, stdout);
|
||||
printf(" %s\n", name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue