summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fb.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/fb.in b/fb.in
index 06fa4e2..e14fa31 100644
--- a/fb.in
+++ b/fb.in
@@ -262,7 +262,7 @@ create_apikey() {
if [ "$status_code" == "200" ]; then
if [ ! -d "$XDG_CONFIG_HOME/fb-client/" ]; then
- mkdir "$XDG_CONFIG_HOME/fb-client"
+ mkdir -p "$XDG_CONFIG_HOME/fb-client"
fi
head -n 1 "$tmpdir/api-result" > "$apikey_file"
return 0