Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3758945
D1496.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
533 B
Referenced Files
None
Subscribers
None
D1496.diff
View Options
diff --git a/roles/devserver/userland-software/files/shell.py b/roles/devserver/userland-software/files/shell.py
--- a/roles/devserver/userland-software/files/shell.py
+++ b/roles/devserver/userland-software/files/shell.py
@@ -225,6 +225,9 @@
connection = ServerConnection(config, sys.argv[1:])
try:
subprocess_args = connection.parse_connection()
+ except IndexError:
+ print_error("Required argument is missing.")
+ exit(8)
except ValueError as e:
print_error(e)
exit(4)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 20, 14:34 (21 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2254178
Default Alt Text
D1496.diff (533 B)
Attached To
Mode
D1496: Check shell command receives enough arguments
Attached
Detach File
Event Timeline
Log In to Comment