diff --git a/daemon/src/entity/commands/general/general_command.ts b/daemon/src/entity/commands/general/general_command.ts index 48a71d72..2e59ef36 100755 --- a/daemon/src/entity/commands/general/general_command.ts +++ b/daemon/src/entity/commands/general/general_command.ts @@ -28,7 +28,7 @@ export default class GeneralSendCommand extends InstanceCommand { // The server shutdown command needs to send a command, but before the server shutdown command is executed, the status will be set to the shutdown state. // So here the command can only be executed by whether the process exists or not if (instance?.process) { - instance.process.write(encode(buf, instance.config.oe)); + instance.process.write(encode(buf, instance.config.ie)); if (instance.config.crlf === 2) return instance.process.write("\r\n"); return instance.process.write("\n"); } else {