diff options
author | Colin Guthrie <colin@mageia.org> | 2014-04-08 10:04:36 +0000 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2014-04-08 10:04:36 +0000 |
commit | 8d5ef4414856de1edb62333ac3547454fdfb002d (patch) | |
tree | 41790628cf454da7010e90737b858699ce276731 | |
parent | 489bc253ab83bf49270878e3b7ccbafa1478f745 (diff) | |
download | puppet-8d5ef4414856de1edb62333ac3547454fdfb002d.tar puppet-8d5ef4414856de1edb62333ac3547454fdfb002d.tar.gz puppet-8d5ef4414856de1edb62333ac3547454fdfb002d.tar.bz2 puppet-8d5ef4414856de1edb62333ac3547454fdfb002d.tar.xz puppet-8d5ef4414856de1edb62333ac3547454fdfb002d.zip |
mga-advisories: Fix path to su
-rw-r--r-- | modules/mga-advisories/templates/update_script | 2 |
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 |