mirror of
https://github.com/pulb/mailnag.git
synced 2026-05-06 09:57:01 +02:00
don't redirect config errors to a logfile
This commit is contained in:
@@ -4,11 +4,10 @@ LIB_DIR=./Mailnag
|
||||
config_dir="${XDG_CONFIG_HOME:-$HOME/.config}/mailnag"
|
||||
|
||||
mkdir --parents "$config_dir"
|
||||
rm --force "$config_dir/mailnag_config.log"
|
||||
|
||||
cd $(dirname $(readlink -f $0))
|
||||
|
||||
python $LIB_DIR/config.py >> "$config_dir/mailnag_config.log" 2>&1
|
||||
python $LIB_DIR/config.py
|
||||
|
||||
if [ $? -eq 0 ]; then
|
||||
# Restart mailnag.py
|
||||
|
||||
Reference in New Issue
Block a user