Another issue on OpenBSD

From: fff iii <fr3akyidiot_at_gmail.com>
Date: Thu, 27 Apr 2017 17:46:20 -0400

Hello, I am getting the following error when trying to use trap with -x:

#!/usr/local/bin/execlineb -W

define VAR THISISAVAR

trap -x {
         SIGQUIT { importas VAR VAR foreground { echo $VAR } }
         SIGTERM { importas VAR VAR foreground { echo $VAR } }
         SIGINT { importas VAR VAR foreground { echo $VAR } }
} sleep 100

trap: fatal: unable to auto-trap signal 9: Invalid argument

on OpenBSD.

Thanks!
Received on Thu Apr 27 2017 - 21:46:20 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC