]> granicus.if.org Git - sudo/commitdiff
Match CentOS 6.0
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 30 Apr 2012 23:36:01 +0000 (19:36 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 30 Apr 2012 23:36:01 +0000 (19:36 -0400)
pp

diff --git a/pp b/pp
index 261ea256afc55bdc75c0933c2b2e39135b4e4473..76b4d6e59e16443abc419a4b4694552b4736ede6 100755 (executable)
--- a/pp
+++ b/pp
@@ -1,6 +1,6 @@
 #!/bin/sh
 # Copyright 2012 Quest Software, Inc. ALL RIGHTS RESERVED
-pp_revision="353"
+pp_revision="355"
  # Copyright 2012 Quest Software, Inc.  ALL RIGHTS RESERVED.
  #
  # Redistribution and use in source and binary forms, with or without
@@ -1761,7 +1761,7 @@ pp_aix_add_service () {
 
        set -- $cmd
        cmd_cmd="$1"; shift
-       cmd_arg="$*";
+       cmd_arg="${pp_aix_mkssys_cmd_args:-$*}";
 
        case "$stop_signal" in
                HUP) stop_signal=1;;
@@ -5425,6 +5425,7 @@ pp_rpm_detect_distro () {
        pp_rpm_distro=`awk '
           /^Red Hat Enterprise Linux/ { print "rhel" $7; exit; }
           /^CentOS release/           { print "centos" $3; exit; }
+          /^CentOS Linux release/     { print "centos" $4; exit; }
           /^Red Hat Linux release/    { print "rh" $5; exit; }
        ' /etc/redhat-release`
     elif test -f /etc/SuSE-release; then