MOON
Server: Apache
System: Linux srvsg2.lunchactually.com 3.10.0-957.27.2.el7.x86_64 #1 SMP Mon Jul 29 17:46:05 UTC 2019 x86_64
User: matchmakinginsti (1004)
PHP: 8.0.30
Disabled: NONE
Upload Files
File: //proc/self/root/scripts/run_if_exists
#!/bin/bash

# cpanel - scripts/run_if_exists                   Copyright 2022 cPanel, L.L.C.
#                                                           All rights reserved.
# [email protected]                                         http://cpanel.net
# This code is subject to the cPanel license. Unauthorized copying is prohibited

# used to run legacy hooks without warnings

WHAT="$1"
[ "x$WHAT" = "x" ] && exit 1;

# preserve error when file is not executable
if [ -e "$WHAT" ]; then
    exec $WHAT;
fi