summaryrefslogtreecommitdiff
path: root/infrastructure
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2007-11-06 23:27:23 +0000
committerChris Wilson <chris+github@qwirx.com>2007-11-06 23:27:23 +0000
commitb925e5f583b4a76469041e9f8c46243aef4931ae (patch)
tree9116654120e54cf5404ccec6b94fd48c42ab97be /infrastructure
parent96aa8e38c4c6d3d326541de849dfad610030620c (diff)
Don't add a superfluous leading space to bbackupd_args.
Diffstat (limited to 'infrastructure')
-rw-r--r--infrastructure/buildenv-testmain-template.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/infrastructure/buildenv-testmain-template.cpp b/infrastructure/buildenv-testmain-template.cpp
index 3fd10c71..5524c670 100644
--- a/infrastructure/buildenv-testmain-template.cpp
+++ b/infrastructure/buildenv-testmain-template.cpp
@@ -176,7 +176,10 @@ int main(int argc, char * const * argv)
{
case 'c':
{
- bbackupd_args += " ";
+ if (bbackupd_args.length() > 0)
+ {
+ bbackupd_args += " ";
+ }
bbackupd_args += optarg;
}
break;