From 9098b1a4781762e80ccef2aa88cf28a4b1103312 Mon Sep 17 00:00:00 2001 From: Matt McCormick Date: Sun, 31 Oct 2021 21:31:40 -0400 Subject: [PATCH] imagefiles: gosu sudo wrapper requires bash Addresses: /usr/local/bin/sudo: 5: 2: not found that occurs during sudo execution. --- imagefiles/install-gosu-binary-wrapper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imagefiles/install-gosu-binary-wrapper.sh b/imagefiles/install-gosu-binary-wrapper.sh index 649d088..7b987c6 100755 --- a/imagefiles/install-gosu-binary-wrapper.sh +++ b/imagefiles/install-gosu-binary-wrapper.sh @@ -16,7 +16,7 @@ gosu nobody true # is created in /usr/local/bin cat << EOF >> /usr/local/bin/sudo -#!/bin/sh +#!/bin/bash # Emulate the sudo command SUDO_USER=root SUDO_GROUP=root