From 545bc2c3465fa697f66248067dd8a2d8a080abec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=81=AB=E8=8A=B1?= Date: Mon, 12 May 2025 21:55:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=B8=BActrl+C=E8=AE=BE=E7=BD=AEtrap?= =?UTF-8?q?=EF=BC=8C=E9=98=B2=E6=AD=A2shell=E8=BF=9B=E7=A8=8B=E6=84=8F?= =?UTF-8?q?=E5=A4=96=E9=80=80=E5=87=BA=20(#1162)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 为sigint进行trap设置 Signed-off-by: sparkzky --- user/sysconfig/etc/profile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/user/sysconfig/etc/profile b/user/sysconfig/etc/profile index 272156e9..0c937bd4 100644 --- a/user/sysconfig/etc/profile +++ b/user/sysconfig/etc/profile @@ -1,2 +1,3 @@ #!/bin/sh -export PATH=/bin:/usr/bin:/usr/local/bin \ No newline at end of file +export PATH=/bin:/usr/bin:/usr/local/bin +trap ' ' INT \ No newline at end of file