summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMatthias H <apoc@sixserv.org>2015-01-11 09:04:01 +0100
committerMatthias H <apoc@sixserv.org>2015-01-11 09:04:01 +0100
commitf94c7000d10f6d58f5b4e35d091f2422241cb2b3 (patch)
treedd7f606f36df39d5375707d84c364bdaf6da3b9b /bin
parent6889fac4f7df6772e94bc7fc8319823197b68552 (diff)
rbotdb: create non-existing profile directory
Diffstat (limited to 'bin')
-rwxr-xr-xbin/rbotdb1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/rbotdb b/bin/rbotdb
index c537187a..b77939eb 100755
--- a/bin/rbotdb
+++ b/bin/rbotdb
@@ -293,6 +293,7 @@ class RestoreRegistry
end
def create_folder
+ Dir.mkdir(@profile) unless File.directory?(@profile)
if @registry
folder = @registry
else