RatSlap

  • Status Developed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Uncategorised
  • Assigned To
    Krayon
  • Operating System All
  • Severity Medium
  • Priority Medium
  • Reported Version 0.2.2
  • Due in Version 0.2.3
  • Due Date 2018-07-12
    8 days overdue
  • Votes
  • Private
Attached to Project: RatSlap
Opened by Krayon - 2018-07-10
Last edited by Krayon - 2018-07-10

QB#124 - Failed operations don't abort execution

A failed operation doesn’t abort execution such that subsequent parameters are
still parsed and executed. eg.

$ ./ratslap -s INVALID1 -s INVALID2 -s INVALID3
RatSlap v0.2.2 (BUILT: 2018-05-01 01:00:50+1000)
Copyright (C) 2016 Todd Harbour
Linux configuration tool for Logitech mice (currently only G300/G300S)
https://gitlab.com/krayon/ratslap/
Found Logitech G300s (046d:c246) @ 0x1470620
Detaching kernel driver...
20180711T012738+1000 [E]           main.c:01322:main            ERROR: Invalid mode for select option: INVALID1
20180711T012738+1000 [E]           main.c:01322:main            ERROR: Invalid mode for select option: INVALID2
20180711T012738+1000 [E]           main.c:01322:main            ERROR: Invalid mode for select option: INVALID3
Attaching kernel driver...

I can’t think of any way at present that this could be bad but it’s probably
not a good idea.

Admin
Krayon commented on 2018-07-10 15:41

Fixed in commit ada6d32a30dd2547aed77e3c013f7ef287152f26

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing