imagefiles: gosu sudo wrapper requires bash

Addresses:

  /usr/local/bin/sudo: 5: 2: not found

that occurs during sudo execution.
This commit is contained in:
Matt McCormick 2021-10-31 21:31:40 -04:00
parent cb7421fc79
commit 9098b1a478

View File

@ -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