Skip to content

Commit

Permalink
Check access to home
Browse files Browse the repository at this point in the history
  • Loading branch information
eloaders committed Dec 30, 2013
1 parent 05f9b3d commit f462f45
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/i-nex/.src/MInit.module
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
' Gambas module file

Public Sub _inits()

If Access("" & User.Home & "/", gb.Write) = False Then
Message.Error("Cannot write files to " & User.Home & "/.i-nex")
Endif
If Exist("" & User.Home & "/.i-nex") Then

Print "i-nex in home folder is exist"
Expand Down

0 comments on commit f462f45

Please sign in to comment.