From 8d5ef4414856de1edb62333ac3547454fdfb002d Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Tue, 8 Apr 2014 10:04:36 +0000 Subject: mga-advisories: Fix path to su --- modules/mga-advisories/templates/update_script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/mga-advisories/templates/update_script b/modules/mga-advisories/templates/update_script index 0f1ce6a7..74481814 100644 --- a/modules/mga-advisories/templates/update_script +++ b/modules/mga-advisories/templates/update_script @@ -3,7 +3,7 @@ set -e if [ "$UID" = "0" ]; then echo "Re-running as <%= @mgaadv_login %>." >&2 - exec /usr/bin/su -c <%= @update_script %> - <%= @mgaadv_login %> + exec /bin/su -c <%= @update_script %> - <%= @mgaadv_login %> fi if [ "$USER" != "<%= @mgaadv_login %>" ]; then -- cgit v1.2.1