summaryrefslogtreecommitdiff
path: root/net-mgmt/librenms/files/patch-daily.sh
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/librenms/files/patch-daily.sh')
-rw-r--r--net-mgmt/librenms/files/patch-daily.sh9
1 files changed, 0 insertions, 9 deletions
diff --git a/net-mgmt/librenms/files/patch-daily.sh b/net-mgmt/librenms/files/patch-daily.sh
index 08520dd739e0..1020e9ad21d3 100644
--- a/net-mgmt/librenms/files/patch-daily.sh
+++ b/net-mgmt/librenms/files/patch-daily.sh
@@ -1,14 +1,5 @@
--- daily.sh.orig 2017-03-26 12:06:00 UTC
+++ daily.sh
-@@ -113,7 +113,7 @@ main () {
- # only try to su if we are root (or sudo)
- if [[ "$EUID" -eq 0 ]]; then
- echo "Re-running ${DAILY_SCRIPT} as ${LIBRENMS_USER} user"
-- su -l "$LIBRENMS_USER" -c "$DAILY_SCRIPT $@"
-+ sudo -u "$LIBRENMS_USER" "$DAILY_SCRIPT"
- exit;
- fi
-
@@ -123,27 +123,6 @@ main () {
fi