/[adm]/puppet/modules/mga-advisories/templates/update_script
ViewVC logotype

Diff of /puppet/modules/mga-advisories/templates/update_script

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3441 by colin, Tue Apr 8 10:04:36 2014 UTC revision 3442 by colin, Tue Apr 8 10:05:36 2014 UTC
# Line 2  Line 2 
2  set -e  set -e
3    
4  if [ "$UID" = "0" ]; then  if [ "$UID" = "0" ]; then
5          echo "Re-running as <%= @mgaadv_login %>." >&2          echo "Re-running as '<%= @mgaadv_login %>' user." >&2
6          exec /bin/su -c <%= @update_script %> - <%= @mgaadv_login %>          exec /bin/su -c <%= @update_script %> - <%= @mgaadv_login %>
7  fi  fi
8    

Legend:
Removed from v.3441  
changed lines
  Added in v.3442

  ViewVC Help
Powered by ViewVC 1.1.26