fix: control flow

This commit is contained in:
aclist committed 2024-01-12 15:11:32 +09:00
1 parent de5b530968
commit ee1803c73c
1 file changed
+2 -1
+2 -1
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(){