aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mga-advisories
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mga-advisories')
-rw-r--r--modules/mga-advisories/templates/update_script2
1 files changed, 1 insertions, 1 deletions
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