From f1b643bdabbd54a190d98738deac86195d2a1bb5 Mon Sep 17 00:00:00 2001 From: Botspot <54716352+Botspot@users.noreply.github.com> Date: Mon, 23 Oct 2023 14:27:29 -0500 Subject: [PATCH] terminal-run: prevent errors on future script updates Curly brackets forces bash to read the whole file --- etc/terminal-run | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/etc/terminal-run b/etc/terminal-run index 9cf1d6b12c..bc32c23ba1 100755 --- a/etc/terminal-run +++ b/etc/terminal-run @@ -1,5 +1,5 @@ #!/bin/bash - +{ #$1 is the command to be run. #$2 is the title. commands="$1" @@ -126,4 +126,5 @@ if [ ! -z "$temp_pid_file" ];then fi -true +exit 0 +}