mirror of
https://github.com/aclist/dztui.git
synced 2024-12-28 21:32:36 +01:00
fix: control flow
This commit is contained in:
parent
de5b530968
commit
ee1803c73c
1 changed files with 2 additions and 1 deletions
3
dzgui.sh
3
dzgui.sh
|
@ -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(){
|
||||
|
|
Loading…
Reference in a new issue