Skip to content

Commit 707ecf7

Browse files
committed
fix del alias
1 parent fb2f769 commit 707ecf7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/core.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,7 @@ uninstall() {
778778
manage stop &>/dev/null
779779
manage disable &>/dev/null
780780
rm -rf $is_core_dir $is_log_dir $is_sh_bin /lib/systemd/system/$is_core.service
781-
sed -i "/alias $is_core=/d" /root/.bashrc
781+
sed -i "/$is_core/d" /root/.bashrc
782782
# uninstall caddy; 2 is ask result
783783
if [[ $REPLY == '2' ]]; then
784784
manage stop caddy &>/dev/null

v2ray.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

33
args=$@
4-
is_sh_ver=v4.26
4+
is_sh_ver=v4.27
55

66
. /etc/v2ray/sh/src/init.sh

0 commit comments

Comments
 (0)