Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F54721194
D1496.id3827.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
533 B
Referenced Files
None
Subscribers
None
D1496.id3827.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
Fri, Oct 23, 23:07 (2 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4212929
Default Alt Text
D1496.id3827.diff (533 B)
Attached To
Mode
D1496: Check shell command receives enough arguments
Attached
Detach File
Event Timeline
Log In to Comment