Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tg
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
tg
Commits
e914359a
Commit
e914359a
authored
Oct 10, 2014
by
mk-pmb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
print config dir debug info only if output is enabled
parent
09bb322d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
main.c
main.c
+3
-1
No files found.
main.c
View file @
e914359a
...
...
@@ -247,11 +247,13 @@ void running_for_first_time (void) {
}
tasprintf
(
&
config_filename
,
"%s/%s"
,
config_directory
,
CONFIG_FILE
);
config_filename
=
make_full_path
(
config_filename
);
if
(
!
disable_output
)
{
printf
(
"I: config dir=[%s]
\n
"
,
config_directory
);
}
// printf ("I: config file=[%s]\n", config_filename);
int
config_file_fd
;
char
*
config_directory
=
get_config_directory
();
printf
(
"I: config dir=[%s]
\n
"
,
config_directory
);
//char *downloads_directory = get_downloads_directory ();
if
(
!
mkdir
(
config_directory
,
CONFIG_DIRECTORY_MODE
))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment