1
0
Fork 0
mirror of https://github.com/aclist/dztui.git synced 2024-12-28 05:12:36 +01:00

fix: control flow

This commit is contained in:
aclist 2024-01-12 15:11:32 +09:00
parent de5b530968
commit ee1803c73c

View file

@ -442,7 +442,8 @@ migrate_files(){
cp $config_file $config_path/dztuirc.oldapi
fi
logger INFO "Migrated old API file"
[[ -f $hist_file ]] && rm $hist_file
[[ ! -f $hist_file ]] && return
rm $hist_file
logger INFO "Wiped old history file"
}
stale_symlinks(){