Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bareos/python-bareos.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Steffens <joerg.steffens@bareos.com>2017-02-17 16:03:40 +0300
committerJoerg Steffens <joerg.steffens@bareos.com>2017-02-17 16:03:40 +0300
commit94de78eddbb0f8c1ccd3126675f0cd3844bb7a94 (patch)
treeebee3b55e0b52079c6c6dd5af6326a2338cb972b
parente19f64fe9ae272722a49daa0c785f24858a2b7de (diff)
bareos-fd-connect: fix. Output result from FD.
-rwxr-xr-xbin/bareos-fd-connect.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/bareos-fd-connect.py b/bin/bareos-fd-connect.py
index 7998638..00a7fbb 100755
--- a/bin/bareos-fd-connect.py
+++ b/bin/bareos-fd-connect.py
@@ -43,6 +43,6 @@ if __name__ == '__main__':
sys.exit(1)
logger.debug( "authentication successful" )
if args.command:
- bsock.call(args.command)
+ print(bsock.call(args.command))
else:
bsock.interactive()