fix shellcheck

This commit is contained in:
adam committed 2026-09-29 16:55:52 +00:00
1 parent 35f541458c
commit ae4299a570
1 file changed
+5 -1
+5 -1
View File
@@ -567,7 +567,11 @@ cmd_import() {
fi
if [[ $EUID -eq 0 ]]; then chown -R "$SVC_USER:$SVC_USER" "$dir"; fi
echo "imported${meta_from:+ '$meta_from' as} '$name' into $dir"
if [[ -n $meta_from ]]; then
echo "imported '$meta_from' as '$name' into $dir"
else
echo "imported '$name' into $dir"
fi
echo "Review $dir/serverconfig.txt, then: systemctl enable --now terraria@$name"
}