1 Commits

Author SHA1 Message Date
3982df9e24 Fixed bug of improper listing logs, when script runs on /usr/bin 2021-01-21 04:43:16 +02:00

2
rsm
View File

@@ -495,6 +495,7 @@ do_enable_disable() {
# show logs
do_show_logs() {
local LOGDIR="/var/log/"
local SVDIR="/run/runit/service/"
monitors_array=($(xrandr -q))
local cmd=$1
local svc
@@ -538,6 +539,7 @@ do_show_logs() {
# show error logs
do_show_err_logs() {
local LOGDIR="/var/log/"
local SVDIR="/run/runit/service/"
monitors_array=($(xrandr -q))
local cmd=$1
local svc