18948: Update test.
[arvados.git] / services / api / script / create_superuser_token.rb
index dad9501decb638c3ea14982e04c9893a8a2469eb..3d5de35fd7f5c10f1c05460305e155b6a50f9f55 100755 (executable)
@@ -1,4 +1,7 @@
 #!/usr/bin/env ruby
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
 
 # Install the supplied string (or a randomly generated token, if none
 # is given) as an API token that authenticates to the system user
@@ -11,5 +14,5 @@ include CreateSuperUserToken
 
 supplied_token = ARGV[0]
 
-CreateSuperUserToken.create_superuser_token supplied_token
-
+token = CreateSuperUserToken.create_superuser_token supplied_token
+puts token