CHips L MINI SHELL

CHips L pro

Current Path : /proc/3/task/3/cwd/proc/self/root/proc/self/root/scripts/
Upload File :
Current File : //proc/3/task/3/cwd/proc/self/root/proc/self/root/scripts/safeup2date

#!/usr/local/cpanel/3rdparty/bin/perl
# cpanel - safeup2date                               Copyright 2009 cPanel, Inc.
#                                                           All rights Reserved.
# copyright@cpanel.net                                         http://cpanel.net
# This code is subject to the cPanel license. Unauthorized copying is prohibited

use strict;

open( UPTODATE, '-|' ) || exec( 'up2date', @ARGV );
my $inerr = 0;
while (<UPTODATE>) {
    if (m/packages.*not.*found/) {
        $inerr = 1;
    }
    if ( !$inerr ) { print; }
    if (m/^$/) {
        $inerr = 0;
    }
}
close(UPTODATE);

Copyright 2K16 - 2K18 Indonesian Hacker Rulez