Re: Fehlermeldung beim ausführen von einem Skript und ein Prob mit dpkg
Hallo,
Am Fri, 25 Mar 2011, Philipp Lehecka schrieb:
>Dann bekomme ich folgende Ausgabe:
>++ tempfile
>+ temp=/tmp/filei41Fsi
>+ openvas-nvt-sync
>trap: SIGHUP: bad trap
Das ist vermutlich ein #!/bin/sh Script, aber das das 'sigspec' beim
"trap" die "SIG"-Präfix enthalten darf ist eine Bash-Erweiterung.
==== man bash ====
Signal names are case insensitive and the SIG prefix is optional.
====
Die dash (/bin/sh auf Debian) hat diese Erweiterung nicht, ebenso wie
z.B. die ash (die kennt sogar nur numerische Signale).
Ist also ein Bug in openvas-nvt-sync.
HTH,
-dnh
--
>> This needs quotes:
>> use lib "/path/to/perl/modules";
> Single or double quotes?
Yes. -- Tad McClellan in comp.lang.perl.misc
Reply to: