Skip to content

Commit

Permalink
Update diy.sh
Browse files Browse the repository at this point in the history
转换vdi之后,赋予可执行权限。方便虚拟机调用
  • Loading branch information
wukongdaily committed Dec 6, 2023
1 parent d595765 commit 1201a4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions shell/diy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ convert_vm_format() {

# 检查命令是否成功执行
if [ $? -eq 0 ]; then
sudo chmod 755 $target_path
Show 0 "转换成功。转换后的文件位于:$target_path"
else
Show 1 "转换失败,请检查输入的路径和文件。"
Expand Down

0 comments on commit 1201a4d

Please sign in to comment.