chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e0376b1
)
util: minor simplification when printing welcome text
author
Lennart Poettering
<lennart@poettering.net>
Wed, 7 Jul 2010 01:49:39 +0000
(
03:49
+0200)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 7 Jul 2010 02:13:20 +0000
(
04:13
+0200)
src/util.c
patch
|
blob
|
history
diff --git
a/src/util.c
b/src/util.c
index 774f061efc5cdbd385b6967db63d6a66106be2e7..a5f904dbfdea2e90137728ad12fcc7b6af7e2d55 100644
(file)
--- a/
src/util.c
+++ b/
src/util.c
@@
-2675,11
+2675,11
@@
void status_welcome(void) {
* script did. */
if (startswith(r, "Red Hat"))
* script did. */
if (startswith(r, "Red Hat"))
- status_printf("
\t
Welcome to \x1B[0;31m%s\x1B[0m!\n", r); /* Red for RHEL */
+ status_printf("Welcome to \x1B[0;31m%s\x1B[0m!\n", r); /* Red for RHEL */
else if (startswith(r, "Fedora"))
else if (startswith(r, "Fedora"))
- status_printf("
\t
Welcome to \x1B[0;34m%s\x1B[0m!\n", r); /* Blue for Fedora */
+ status_printf("Welcome to \x1B[0;34m%s\x1B[0m!\n", r); /* Blue for Fedora */
else
else
- status_printf("
\t
Welcome to %s!\n", r);
+ status_printf("Welcome to %s!\n", r);
free(r);
free(r);
@@
-2691,7
+2691,7
@@
void status_welcome(void) {
truncate_nl(r);
truncate_nl(r);
- status_printf("
\t
Welcome to \x1B[0;32m%s\x1B[0m!\n", r); /* Green for SUSE */
+ status_printf("Welcome to \x1B[0;32m%s\x1B[0m!\n", r); /* Green for SUSE */
free(r);
#else
#warning "You probably should add a welcome text logic here."
free(r);
#else
#warning "You probably should add a welcome text logic here."