From 60f52c054d1fe1846b6ffcedf188c61cb553c464 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Wed, 27 Jan 2021 17:24:07 +0000 Subject: Add error checks to @shell Check errors from Lua io.* library calls to make it show useful error messages when they do occur instead of ("attempt to index a nil value") Submitted by: RhToad (in IRC) Differential Revision: https://reviews.freebsd.org/D27154 --- Keywords/shell.ucl | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'Keywords/shell.ucl') diff --git a/Keywords/shell.ucl b/Keywords/shell.ucl index 27d0b460aeb3..e3f6583f6506 100644 --- a/Keywords/shell.ucl +++ b/Keywords/shell.ucl @@ -10,7 +10,7 @@ actions: [file] post-install-lua: <